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