Function rustix::fs::symlinkat

pub fn symlinkat<P: path::Arg, Q: path::Arg, Fd: AsFd>(old_path: P, new_dirfd: &Fd, new_path: Q) -> io::Result<()>
Documentation

symlinkat(old_dirfd, old_path, new_dirfd, new_path)—Creates a symlink.

References