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