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