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