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