wasi

Function path_symlink

Source
pub unsafe fn path_symlink(
    old_path: &str,
    fd: Fd,
    new_path: &str,
) -> Result<(), Errno>
Expand description

Create a symbolic link. Note: This is similar to symlinkat in POSIX.

ยงParameters

  • old_path - The contents of the symbolic link.
  • new_path - The destination path at which to create the symbolic link.