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