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