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