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