qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
freopen
 Description Example                     Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   <stdio.h>
 
  Syntax:    FILE *freopen( char *filename, char *mode, FILE *stream );
             mode: r, w, a, r+, w+, a+, t, b
                   (appended to <mode> to indicate type)
 
  Returns:   a pointer to the newly opened file if successful, or a
             NULL pointer if not.
 
  See also:  fclose, fdopen, fileno, fopen, open, setmode
                                    -♦-