Function linkat

Source
pub unsafe fn linkat(
    olddirfd: int,
    oldpath: *const char,
    newdirfd: int,
    newpath: *const char,
    flags: int,
) -> Result<int>
Expand description

Create a new link (a “hard link”) for an existing file relative to directory file descriptors.