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