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