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