HomeManualTopicsTypesSymbols

std::rename

renames or moves the specified file

Parameters

old_path
the current file location
new_path
the new file location

Results

None

Description

This function needs I/O-access rights.

Topic

POSIX

See also

std::unlink remove the specified file
std::stat retrieves status information about the specified file
std::lstat