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