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