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