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