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