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