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