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