Module signal

Source

Structs§

SigActionFlags
SigAltStackFlags
SigInfoCodeFromRawError
Signal
SignalFromI32Error
sigaction
Invariants
siginfo_t
Wrapper around linux_siginfo_t.
sigset_t
Compatible with the Linux kernel’s definition of sigset_t on x86_64.

Enums§

LinuxDefaultAction
SigInfoCode
Describes how a signal was sent.
SigInfoCodeBus
Codes for SIGBUS
SigInfoCodeCld
Codes for SIGCHLD
SigInfoCodeFpe
Codes for SIGFPE
SigInfoCodeIll
Codes for SIGILL
SigInfoCodePoll
Codes for SIGIO/SIGPOLL
SigInfoCodeSegv
Codes for SIGSEGV
SigInfoCodeSi
SigInfoCodeSys
Codes for SIGSYS
SigInfoCodeTrap
Codes for SIGTRAP
SigInfoDetails
SigProcMaskAction
For use with rt_sigprocmask.
SignalHandler

Constants§

LINUX_SS_AUTODISARM

Functions§

defaultaction
kill_current_process_group
Execute the kill syscall, targeting the current process group.
kill_process
Execute the kill syscall, targeting a process.
kill_process_group
Execute the kill syscall, targeting a process group.
kill_raw
Execute the kill syscall.
rt_sigaction
Calls the rt_sigaction syscall.
rt_sigaction_raw
Calls the rt_sigaction syscall.
rt_sigprocmask
Make the rt_sigprocmask syscall.
rt_sigprocmask_raw
Make the rt_sigprocmask syscall.
sigaction_restorer
Restorer suitable for use with sigaction.
sigaltstack
Safety
sigaltstack_raw
Safety
tgkill
tgkill_raw

Type Aliases§

SigInfoDetailsKill
SigInfoDetailsRt
SigInfoDetailsSigChld
SigInfoDetailsSigFault
SigInfoDetailsSigPoll
SigInfoDetailsSigSys
SigInfoDetailsTimer
SignalActionFn
SignalHandlerFn
linux_sigaction
Expose for cbindgen APIs
linux_siginfo_t
linux_sigset_t
linux_stack_t
stack_t