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