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