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