Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/libstdio/feof.c
/* * pANS stdio -- feof */ #include "iolib.h" int feof(FILE *f){ return f->state==END; }