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