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