[−][src]Function wasi::path_link
pub unsafe fn path_link(
old_fd: Fd,
old_flags: Lookupflags,
old_path: &str,
new_fd: Fd,
new_path: &str
) -> Result<()>
Create a hard link.
Note: This is similar to linkat
in POSIX.
Parameters
old_flags
- Flags determining the method of how the path is resolved.old_path
- The source path from which to link.new_fd
- The working directory at which the resolution of the new path starts.new_path
- The destination path at which to create the hard link.