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