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