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