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