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