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