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