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