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