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