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