shithub: riscv

ref: 41be41b4936b4d58312cc99993511f0f09d6161d
dir: /sys/src/ape/lib/ap/stdio/ferror.c/

View raw version
/*
 * pANS stdio -- ferror
 */
#include "iolib.h"
int ferror(FILE *f){
	return f->state==ERR;
}