Function cloudabi::file_rename [] [src]

pub unsafe fn file_rename(
    fd1_: fd,
    path1_: &[u8],
    fd2_: fd,
    path2_: &[u8]
) -> errno

Renames a file.

Parameters

fd1: The working directory at which the resolution of the source path starts.

path1: The source path of the file that should be renamed.

fd2: The working directory at which the resolution of the destination path starts.

path2: The destination path to which the file should be renamed.