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