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