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