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