ref: a8bf0b365d4313847b4fc4b94383a996bc297d93 dir: /sys/src/libstdio/ferror.c/
/* * pANS stdio -- ferror */ #include "iolib.h" int ferror(FILE *f){ return f->state==ERR; }