git: 9front

ref: c8600d1f7e7ba50027ff3b5d62c7511efecfb7f0
dir: /sys/src/libstdio/ferror.c/

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