FS_RenameFile

Syntax


#include <nitro/fs.h>

BOOL FS_RenameFile(const char *src, const char *dst);

Arguments

src Path name of the file before the change.
dst Path name of the file after the change.

Return Values

Returns TRUE if the file name was changed properly; returns FALSE otherwise. In case of failure, the error details can be obtained using FS_GetArchiveResultCode().

Description

Renames the specified file. This is the same as moving a file. The function returns FALSE in the following situations:

Note

See Also

FS_PERMIT_*
FS_CreateFile FS_DeleteFile FS_GetResultCode

Revision History

2007/09/18 Initial version.


CONFIDENTIAL