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