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