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