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