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