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