devela::_dep::nc

Function add_key

pub unsafe fn add_key<P>(
    type_: P,
    description: P,
    payload: *const c_void,
    plen: usize,
    dest_keyring: i32,
) -> Result<i32, i32> 
where P: AsRef<Path>,
Available on crate feature dep_nc only.
Expand description

Add a key to the kernel’s key management facility.