#include <nitro/fs.h>
BOOL FS_RenameFile(const char *src, const char *dst);
src | Path name of the file before the change. |
dst | Path name of the file after the change. |
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()
.
Renames the specified file. This is the same as moving a file. The function returns FALSE in the following situations:
FS_PERMIT_*
FS_CreateFile FS_DeleteFile FS_GetResultCode
2007/09/18 Initial version.
CONFIDENTIAL