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