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