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