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