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