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