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