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