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