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