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