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