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