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