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