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