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