ref: 4c00c4e8204f98a5859ef6c0bfe8d2e4d6f168d2
dir: /lib/c/freopen.c/
#include <stdio.h> #undef freopen FILE * freopen(const char * restrict name, const char * restrict mode, FILE * restrict fp) { if (fclose(fp) == EOF) return NULL; return _fpopen(name, mode, fp); }