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