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