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