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