pub fn linkat<P: Arg, Q: Arg, PFd: AsFd, QFd: AsFd>( old_dirfd: PFd, old_path: P, new_dirfd: QFd, new_path: Q, flags: AtFlags, ) -> Result<()>
fs
linkat(old_dirfd, old_path, new_dirfd, new_path, flags)—Creates a hard link.
linkat(old_dirfd, old_path, new_dirfd, new_path, flags)