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