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