nc 0.9.8

Access system calls directly
Documentation
1
2
3
4
5
6
/// Queue a signal to a process (REALTIME)
pub unsafe fn sigqueueinfo(pid: pid_t, info: &siginfo_t) -> Result<(), Errno> {
    let pid = pid as usize;
    let info_ptr = core::ptr::from_ref(info) as usize;
    unsafe { syscall2(SYS_SIGQUEUEINFO, pid, info_ptr).map(drop) }
}