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