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