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