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