rustix::fs

Function symlinkat

Source
pub fn symlinkat<P: Arg, Q: Arg, Fd: AsFd>(
    old_path: P,
    new_dirfd: Fd,
    new_path: Q,
) -> Result<()>
Expand description

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

§References