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