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