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