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