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