devela::_dep::nc

Function kcmp

pub unsafe fn kcmp(
    pid1: i32,
    pid2: i32,
    type_: i32,
    idx1: usize,
    idx2: usize,
) -> Result<i32, i32> 
Available on crate feature dep_nc only.
Expand description

Compare two processes to determine if they share a kernel resource.