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