pub fn create_sigset(signals: &[c_int]) -> Result<sigset_t>
Creates sigset from an array of signal numbers.
sigset
This is a helper function used when we want to manipulate signals.