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