#[repr(C)]pub struct sigaction {
pub sa_handler: __sighandler_t,
pub sa_mask: __sigset_t,
pub sa_flags: c_int,
pub sa_restorer: Option<unsafe extern "C" fn()>,
}Expand description
Structure describing the action to be taken when a signal arrives.
Fields
sa_handler: __sighandler_tsa_mask: __sigset_tAdditional set of signals to be blocked.
sa_flags: c_intSpecial flags.
sa_restorer: Option<unsafe extern "C" fn()>Restore handler.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for sigaction
impl Send for sigaction
impl Sync for sigaction
impl Unpin for sigaction
impl UnwindSafe for sigaction
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more