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