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