[go: up one dir, main page]

Module signals

Module signals 

Source
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.