ref: 040a49dbae747a2b7bd56c50e65a4ccc08af1253 dir: /lib/c/feof.c/
#include <stdio.h> #undef feof int feof(FILE *fp) { return fp->flags & _IOEOF; }