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