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