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