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