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