git: 9front

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

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