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