Function file_link

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

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.