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