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