git: 9front

ref: 3b8da71409b47699ec1bee5a96e8924e3aa6c000
dir: /sys/src/libstdio/ferror.c/

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