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