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