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