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