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