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