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