Module nix::sys::signal

Documentation

Operating system signals.

Re-exports

pub use self::Signal;

Structs

Controls the behavior of a SigAction

Action to take on receipt of a signal. Corresponds to sigaction.

Used to request asynchronous notification of the completion of certain events, such as POSIX AIO and timers.

Specifies a set of Signals that may be blocked, waited for, etc.

Iterate through all signals defined by this operating system

Enums

A signal handler.

SigevNotify not(any(target_os = "openbsd", target_os = "redox"))

Specifies the notification method used by a SigEvent

Specifies how certain functions should manipulate a signal mask

Types of operating system signals

Functions

Send a signal to a process

killpg not(target_os = "fuchsia")

Send a signal to a process group

Manages the signal mask (set of blocked signals) for the calling thread.

Send a signal to the current thread

sigaction This function is unsafe to use

Changes the action taken by a process on receipt of a specific signal.

signal This function is unsafe to use

Signal management (see signal(3p))

Examine and change blocked signals.

Type Definitions

type_of_thread_id target_os = "linux"

Identifies a thread for SigevNotify::SigevThreadId

Constants

Alias for SIGABRT

Alias for SIGIO

Alias for SIGSYS