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