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