This is a file I/O function, also hardware dependent. It is not implemented in this Compiler.
#include <stdio.h>
void freopen(const char *name,
const char *mode,
FILE *f);
freopen() opens a file using a specific file descriptor. Use this function for redirecting stdin, stdout, or stderr. For information about possible modes, see fopen().