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