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