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