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