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