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