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