Struct libnotcurses_sys::ffi::sigaction[][src]

#[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_t

Additional set of signals to be blocked.

sa_flags: c_int

Special flags.

sa_restorer: Option<unsafe extern "C" fn()>

Restore handler.

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.