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