Name
rename function — Renames a file
Synopsis
int rename(const char* oldname, const char* newname)
The rename
function renames
the file specified by oldname
to
newname
. The return value is
0
for success or nonzero for
failure.
See Also
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.