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