This is a File I/O function. It is not implemented in the Compiler.
#include <stdio.h>
void freopen(const char *name,
const char *mode,
FILE *f);
freopen() opens a file using a specific file descriptor. This can be useful for redirecting stdin, stdout, or stderr. About possible modes, see fopen().