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