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