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