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