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