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