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