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