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