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