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