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