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