git: 9front

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

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