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