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