freopen()

This is a file I/O function, also hardware dependent. It is not implemented in this Compiler.

Syntax
  #include <stdio.h>

  
  void freopen(const char *name,

  
               const char *mode,

  
               FILE *f);

  
Description

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().

Return
See also

fclose()

fopen()