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