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