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