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