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