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