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