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