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