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