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