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