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