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