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