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