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