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