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