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