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