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