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