git: 9front

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

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