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