pub type Signal = Signal;Expand description
Platform specific signal type
Aliased Type§
#[repr(i32)]pub enum Signal {
Show 31 variants
SIGHUP = 1,
SIGINT = 2,
SIGQUIT = 3,
SIGILL = 4,
SIGTRAP = 5,
SIGABRT = 6,
SIGBUS = 10,
SIGFPE = 8,
SIGKILL = 9,
SIGUSR1 = 30,
SIGSEGV = 11,
SIGUSR2 = 31,
SIGPIPE = 13,
SIGALRM = 14,
SIGTERM = 15,
SIGCHLD = 20,
SIGCONT = 19,
SIGSTOP = 17,
SIGTSTP = 18,
SIGTTIN = 21,
SIGTTOU = 22,
SIGURG = 16,
SIGXCPU = 24,
SIGXFSZ = 25,
SIGVTALRM = 26,
SIGPROF = 27,
SIGWINCH = 28,
SIGIO = 23,
SIGSYS = 12,
SIGEMT = 7,
SIGINFO = 29,
}Variants§
SIGHUP = 1
Hangup
SIGINT = 2
Interrupt
SIGQUIT = 3
Quit
SIGILL = 4
Illegal instruction (not reset when caught)
SIGTRAP = 5
Trace trap (not reset when caught)
SIGABRT = 6
Abort
SIGBUS = 10
Bus error
SIGFPE = 8
Floating point exception
SIGKILL = 9
Kill (cannot be caught or ignored)
SIGUSR1 = 30
User defined signal 1
SIGSEGV = 11
Segmentation violation
SIGUSR2 = 31
User defined signal 2
SIGPIPE = 13
Write on a pipe with no one to read it
SIGALRM = 14
Alarm clock
SIGTERM = 15
Software termination signal from kill
SIGCHLD = 20
To parent on child stop or exit
SIGCONT = 19
Continue a stopped process
SIGSTOP = 17
Sendable stop signal not from tty
SIGTSTP = 18
Stop signal from tty
SIGTTIN = 21
To readers pgrp upon background tty read
SIGTTOU = 22
Like TTIN if (tp->t_local<OSTOP)
SIGURG = 16
Urgent condition on IO channel
SIGXCPU = 24
Exceeded CPU time limit
SIGXFSZ = 25
Exceeded file size limit
SIGVTALRM = 26
Virtual time alarm
SIGPROF = 27
Profiling time alarm
SIGWINCH = 28
Window size changes
SIGIO = 23
Input/output possible signal
SIGSYS = 12
Bad system call
SIGEMT = 7
Emulator trap
SIGINFO = 29
Information request