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