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