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