pub const SIG = struct hangup
interrupt
quit
illegal instruction (not reset when caught)
used by abort
floating point exception
kill (cannot be caught or ignored)
segmentation violation
write on a pipe with no one to read it
alarm clock
software termination signal from kill
user defined signal 1
user defined signal 2
bus error
child process terminated or stopped
continue if stopped
stop
interactive stop
read from ctl tty by member of background
write to ctl tty by member of background
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185pub const SIG = struct {
/// hangup
pub const HUP = 1;
/// interrupt
pub const INT = 2;
/// quit
pub const QUIT = 3;
/// illegal instruction (not reset when caught)
pub const ILL = 4;
/// used by abort
pub const ABRT = 5;
/// floating point exception
pub const FPE = 6;
/// kill (cannot be caught or ignored)
pub const KILL = 7;
/// segmentation violation
pub const SEGV = 8;
/// write on a pipe with no one to read it
pub const PIPE = 9;
/// alarm clock
pub const ALRM = 10;
/// software termination signal from kill
pub const TERM = 11;
/// user defined signal 1
pub const USR1 = 12;
/// user defined signal 2
pub const USR2 = 13;
/// bus error
pub const BUS = 14;
// The following symbols must be defined, but the signals needn't be supported
/// child process terminated or stopped
pub const CHLD = 15;
/// continue if stopped
pub const CONT = 16;
/// stop
pub const STOP = 17;
/// interactive stop
pub const TSTP = 18;
/// read from ctl tty by member of background
pub const TTIN = 19;
/// write to ctl tty by member of background
pub const TTOU = 20;
}