pub fn link<P: AsRef<Path>, U: AsRef<Path>>(
old_fd: &File,
old_flags: u32,
old_path: P,
new_fd: &File,
new_path: U
) -> Result<()>
Available on WASI only.
Expand description
Create a hard link.
This corresponds to the path_link
syscall.