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