pub fn sigprocmask(how: usize, set: Option<&[u64; 2]>, oldset: Option<&mut [u64; 2]>) -> Result<usize> {
    unsafe { syscall3(SYS_SIGPROCMASK, how,
                      set.map(|x| x as *const _).unwrap_or_else(ptr::null) as usize,
                      oldset.map(|x| x as *mut _).unwrap_or_else(ptr::null_mut) as usize) }
}
/// Get and/or set signal masks
Get and/or set signal masks
Get and / or set signal masks
pub fn sigprocmask(how: usize, set: Option<&[u64; 2]>, oldset: Option<&mut [u64; 2]>) -> Result<usize> {
    unsafe { syscall3(SYS_SIGPROCMASK, how,
                      set.map(|x| x as *const _).unwrap_or_else(ptr::null) as usize,
                      oldset.map(|x| x as *mut _).unwrap_or_else(ptr::null_mut) as usize) }
}
pub fn sigprocmask ( how : usize , set : Option < & [ u64 ; 2 ] > , oldset : Option < & mut [ u64 ; 2 ] > ) -> Result < usize > { unsafe { syscall3 ( SYS_SIGPROCMASK , how , set . map ( | x | x as * const _ ) . unwrap_or_else ( ptr :: null ) as usize , oldset . map ( | x | x as * mut _ ) . unwrap_or_else ( ptr :: null_mut ) as usize ) } }
Get and/or set signal masks
Get and / or set signal masks
how
usize
set
Option<&[u64; 2]>
oldset
Option<&mut [u64; 2]>
how
usize
set
Option<&[u64; 2]>
oldset
Option<&mut [u64; 2]>