Struct SigAction
nix::sys::signal
pub struct SigAction { /* fields omitted */ }
impl SigAction
fn new(handler: SigHandler, flags: SaFlags, mask: SigSet) -> SigAction
This function will set or unset the flag SA_SIGINFO depending on the type of the handler argument.
SA_SIGINFO
handler
fn flags(&self) -> SaFlags
fn mask(&self) -> SigSet
fn handler(&self) -> SigHandler