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