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