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