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