Struct nix::sys::signal::SigAction [−][src]
pub struct SigAction { /* fields omitted */ }
Methods
impl SigAction
[src]
impl SigAction
pub fn new(handler: SigHandler, flags: SaFlags, mask: SigSet) -> SigAction
[src]
pub 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.
pub fn flags(&self) -> SaFlags
[src]
pub fn flags(&self) -> SaFlags
pub fn mask(&self) -> SigSet
[src]
pub fn mask(&self) -> SigSet
pub fn handler(&self) -> SigHandler
[src]
pub fn handler(&self) -> SigHandler