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