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