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