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