pub unsafe fn path_link(
old_fd: Fd,
old_flags: Lookupflags,
old_path: &str,
new_fd: Fd,
new_path: &str,
) -> Result<(), Errno>
Expand description
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.