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