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