Function signal_hook_registry::register_signal_unchecked
source · [−]pub unsafe fn register_signal_unchecked<F>(
signal: c_int,
action: F
) -> Result<SigId, Error>where
F: Fn() + Sync + Send + 'static,
Expand description
Register a signal action without checking for forbidden signals.
This acts in the same way as register_unchecked
, including the drawbacks, panics and
performance characteristics. The only difference is the provided action doesn’t accept a
siginfo_t
argument.
Safety
See the details of register
.