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