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