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