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