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