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