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