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