Creates a hardlink relative to directories.
fn linkat(olddir: i32, oldfile: &CStr, newdir: i32, newfile: &CStr, flags: i32) -> i32
| Name | Description |
|---|---|
| olddir | The directory relative to which relative oldfile paths will be interpreted. |
| oldfile | The path of the existing file. |
| newdir | The directory relative to which relative newfile paths will be interpreted. |
| newfile | The path of the new link. |
| flags | Flags to use while creating the link. |
Returns success or an error value.