git: 9front

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

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