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