Parameters
path
Path of new file.
mode
Type of access permitted.
stream
Pointer to FILE structure.
Return Value
Each of these functions returns a pointer to the newly opened file. If an error occurs, the original file is closed and the function returns a NULL pointer value.