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