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