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