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