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