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