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