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