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