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