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