-

Difference between revisions of "Functions HI-TECH C FREOPEN"

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search
(Created page with "<strong>FREOPEN<strong> ==SYNOPSIS== #include <stdio.h> FILE * freopen(char * name, char * mode, FILE * stream) ==DESCRIPTION== <strong>Freopen</strong>() closes the g...")
 
 
Line 1: Line 1:
<strong>FREOPEN<strong>
+
<strong>FREOPEN</strong>
 
==SYNOPSIS==
 
==SYNOPSIS==
  

Latest revision as of 19:56, 31 July 2017

FREOPEN

SYNOPSIS

#include  <stdio.h>

FILE * freopen(char * name, char * mode, FILE * stream)


DESCRIPTION

Freopen() closes the given stream (if open) then reopens the stream attached to the file described by name. The mode of opening is given by mode. It either returns the stream argument, if successful, or NULL if not. See fopen() for more information.

SEE ALSO

fopen, fclose