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