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