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