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