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