 | | The filename argument contains the path to the new file, and type indicates how the new file should be opened, as described earlier for fopen. The original file that stream referred to is closed. If freopen succeeds, it returns stream; if it fails, it returns the constant NULL. | |
|