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