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