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