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