Function cloudabi::file_link [] [src]

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

Creates a hard link.

Parameters

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

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

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

path2: The destination path at which the hard link should be created.