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