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