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