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