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