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