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