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