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