_wrename

Renames the given file.

version(CRuntime_Microsoft)
extern (C) nothrow @nogc extern
int
_wrename
(
const(wchar)* oldName
,
const(wchar)* newName
)

Parameters

oldName const(wchar)*

Path to the file to rename, in UTF-16 encoding.

newName const(wchar)*

The new path of the file, in UTF-16 encoding.

Return Value

Type: int

0 on success.

Meta