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