#[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_t§sa_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 Freeze for sigaction
impl RefUnwindSafe for sigaction
impl Send for sigaction
impl Sync for sigaction
impl Unpin for sigaction
impl UnwindSafe for sigaction
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more