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