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