Share via


Renaming with a Name That Exists

ANSI 4.9.4.2   The effect if a file with the new name exists prior to a call to the rename function

If you attempt to rename a file using a name that exists, the rename function fails and returns an error code.

See Also

Concepts

Library Functions