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