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