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