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