[−][src]Function linux::syscall::linkat
pub fn linkat(
olddir: c_int,
oldfile: KStr,
newdir: c_int,
newfile: KStr,
flags: c_int
) -> c_int
Creates a hardlink relative to directories.
[argument, olddir] The directory relative to which relative oldfile paths will be interpreted.
[argument, oldfile] The path of the existing file.
[argument, newdir] The directory relative to which relative newfile paths will be interpreted.
[argument, newfile] The path of the new link.
[argument, flags] Flags to use while creating the link.
[return_value] Returns success or an error value.
= See also
- link:man:linkat(2)