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