pub fn sys_linkat(
old_dirfd: i32,
old_path: UserConstPtr<c_char>,
new_dirfd: i32,
new_path: UserConstPtr<c_char>,
flags: i32,
) -> LinuxResult<isize>
Expand description
create a link from new_path to old_path old_path: old file path new_path: new file path flags: link flags return value: return 0 when success, else return -1.