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