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