shithub: riscv

ref: 0a7279b3aff262493e5c80f17a540a4b5e8987a5
dir: /sys/src/libstdio/ferror.c/

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