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