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