Expand description
This module provides a way to handle signals in a platform-independent way. It provides a way to convert signal names to their corresponding values and vice versa. It also provides a way to ignore the SIGINT signal and enable pipe errors.
Statics§
- ALL_
SIGNALS - The list of all signals.
- DEFAULT_
SIGNAL - The default signal value.
Functions§
- enable_
pipe_ errors - Returns the default signal value.
- ignore_
interrupts - Ignores the SIGINT signal.
- is_
signal - Returns true if the given number is a valid signal number.
- signal_
by_ name_ or_ value - Returns the signal number for a given signal name or value.
- signal_
name_ by_ value - Returns the signal name for a given signal value.