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