Module signal

Module signal 

Source
Expand description

Unix signal handler registration.

Use the nix crate to register signal callbacks, while keeping any specific notion of libc within this module only. The callbacks are registered into a HashMap and looked up when a signal is received.

Functionsยง

register_signal_callback
Enable signal and register associated callback.