devela::_dep::rustix::fs

Function linkat

pub fn linkat<P, Q, PFd, QFd>(
    old_dirfd: PFd,
    old_path: P,
    new_dirfd: QFd,
    new_path: Q,
    flags: AtFlags,
) -> Result<(), Errno> 
where P: Arg, Q: Arg, PFd: AsFd, QFd: AsFd,
Available on crate feature dep_rustix only.
Expand description

linkat(old_dirfd, old_path, new_dirfd, new_path, flags)—Creates a hard link.

§References