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