#[non_exhaustive]#[repr(u8)]pub enum signal {
Show 26 variants
ABRT = 1,
ALRM = 2,
BUS = 3,
CHLD = 4,
CONT = 5,
FPE = 6,
HUP = 7,
ILL = 8,
INT = 9,
KILL = 10,
PIPE = 11,
QUIT = 12,
SEGV = 13,
STOP = 14,
SYS = 15,
TERM = 16,
TRAP = 17,
TSTP = 18,
TTIN = 19,
TTOU = 20,
URG = 21,
USR1 = 22,
USR2 = 23,
VTALRM = 24,
XCPU = 25,
XFSZ = 26,
}Expand description
Signal condition.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ABRT = 1
Process abort signal.
Action: Terminates the process.
ALRM = 2
Alarm clock.
Action: Terminates the process.
BUS = 3
Access to an undefined portion of a memory object.
Action: Terminates the process.
CHLD = 4
Child process terminated, stopped, or continued.
Action: Ignored.
CONT = 5
Continue executing, if stopped.
Action: Continues executing, if stopped.
FPE = 6
Erroneous arithmetic operation.
Action: Terminates the process.
HUP = 7
Hangup.
Action: Terminates the process.
ILL = 8
Illegal instruction.
Action: Terminates the process.
INT = 9
Terminate interrupt signal.
Action: Terminates the process.
KILL = 10
Kill.
Action: Terminates the process.
PIPE = 11
Write on a pipe with no one to read it.
Action: Ignored.
QUIT = 12
Terminal quit signal.
Action: Terminates the process.
SEGV = 13
Invalid memory reference.
Action: Terminates the process.
STOP = 14
Stop executing.
Action: Stops executing.
SYS = 15
Bad system call.
Action: Terminates the process.
TERM = 16
Termination signal.
Action: Terminates the process.
TRAP = 17
Trace/breakpoint trap.
Action: Terminates the process.
TSTP = 18
Terminal stop signal.
Action: Stops executing.
TTIN = 19
Background process attempting read.
Action: Stops executing.
TTOU = 20
Background process attempting write.
Action: Stops executing.
URG = 21
High bandwidth data is available at a socket.
Action: Ignored.
USR1 = 22
User-defined signal 1.
Action: Terminates the process.
USR2 = 23
User-defined signal 2.
Action: Terminates the process.
VTALRM = 24
Virtual timer expired.
Action: Terminates the process.
XCPU = 25
CPU time limit exceeded.
Action: Terminates the process.
XFSZ = 26
File size limit exceeded.
Action: Terminates the process.