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