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