git: 9front

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

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