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