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