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