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