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