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