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