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