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