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