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