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