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