git: 9front

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

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