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