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