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