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