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