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