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