xref: /xnu-8796.121.2/bsd/dev/dtrace/scripts/signal.d (revision c54f35ca767986246321eb901baf8f5ff7923f6a)
1*c54f35caSApple OSS Distributions /*
2*c54f35caSApple OSS Distributions  * Copyright (c) 2005-2006 Apple Computer, Inc. All rights reserved.
3*c54f35caSApple OSS Distributions  *
4*c54f35caSApple OSS Distributions  * @APPLE_LICENSE_HEADER_START@
5*c54f35caSApple OSS Distributions  *
6*c54f35caSApple OSS Distributions  * The contents of this file constitute Original Code as defined in and
7*c54f35caSApple OSS Distributions  * are subject to the Apple Public Source License Version 1.1 (the
8*c54f35caSApple OSS Distributions  * "License").  You may not use this file except in compliance with the
9*c54f35caSApple OSS Distributions  * License.  Please obtain a copy of the License at
10*c54f35caSApple OSS Distributions  * http://www.apple.com/publicsource and read it before using this file.
11*c54f35caSApple OSS Distributions  *
12*c54f35caSApple OSS Distributions  * This Original Code and all software distributed under the License are
13*c54f35caSApple OSS Distributions  * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
14*c54f35caSApple OSS Distributions  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
15*c54f35caSApple OSS Distributions  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
16*c54f35caSApple OSS Distributions  * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
17*c54f35caSApple OSS Distributions  * License for the specific language governing rights and limitations
18*c54f35caSApple OSS Distributions  * under the License.
19*c54f35caSApple OSS Distributions  *
20*c54f35caSApple OSS Distributions  * @APPLE_LICENSE_HEADER_END@
21*c54f35caSApple OSS Distributions  */
22*c54f35caSApple OSS Distributions 
23*c54f35caSApple OSS Distributions inline int SIGHUP = 1;
24*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGHUP
25*c54f35caSApple OSS Distributions inline int SIGINT = 2;
26*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGINT
27*c54f35caSApple OSS Distributions inline int SIGQUIT = 3;
28*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGQUIT
29*c54f35caSApple OSS Distributions inline int SIGILL = 4;
30*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGILL
31*c54f35caSApple OSS Distributions inline int SIGTRAP = 5;
32*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGTRAP
33*c54f35caSApple OSS Distributions inline int SIGABRT = 6;
34*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGABRT
35*c54f35caSApple OSS Distributions inline int SIGIOT = 6;
36*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGIOT
37*c54f35caSApple OSS Distributions inline int SIGEMT = 7;
38*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGEMT
39*c54f35caSApple OSS Distributions inline int SIGFPE = 8;
40*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGFPE
41*c54f35caSApple OSS Distributions inline int SIGKILL = 9;
42*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGKILL
43*c54f35caSApple OSS Distributions inline int SIGBUS = 10;
44*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGBUS
45*c54f35caSApple OSS Distributions inline int SIGSEGV = 11;
46*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGSEGV
47*c54f35caSApple OSS Distributions inline int SIGSYS = 12;
48*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGSYS
49*c54f35caSApple OSS Distributions inline int SIGPIPE = 13;
50*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGPIPE
51*c54f35caSApple OSS Distributions inline int SIGALRM = 14;
52*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGALRM
53*c54f35caSApple OSS Distributions inline int SIGTERM = 15;
54*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGTERM
55*c54f35caSApple OSS Distributions inline int SIGURG = 16;
56*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGURG
57*c54f35caSApple OSS Distributions inline int SIGSTOP = 17;
58*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGSTOP
59*c54f35caSApple OSS Distributions inline int SIGTSTP = 18;
60*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGTSTP
61*c54f35caSApple OSS Distributions inline int SIGCONT = 19;
62*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGCONT
63*c54f35caSApple OSS Distributions inline int SIGCHLD = 20;
64*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGCHLD
65*c54f35caSApple OSS Distributions inline int SIGTTIN = 21;
66*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGTTIN
67*c54f35caSApple OSS Distributions inline int SIGTTOU = 22;
68*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGTTOU
69*c54f35caSApple OSS Distributions inline int SIGIO = 23;
70*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGIO
71*c54f35caSApple OSS Distributions inline int SIGXCPU = 24;
72*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGXCPU
73*c54f35caSApple OSS Distributions inline int SIGXFSZ = 25;
74*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGXFSZ
75*c54f35caSApple OSS Distributions inline int SIGVTALRM = 26;
76*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGVTALRM
77*c54f35caSApple OSS Distributions inline int SIGPROF = 27;
78*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGPROF
79*c54f35caSApple OSS Distributions inline int SIGWINCH = 28;
80*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGWINCH
81*c54f35caSApple OSS Distributions inline int SIGINFO = 29;
82*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGINFO
83*c54f35caSApple OSS Distributions inline int SIGUSR1 = 30;
84*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGUSR1
85*c54f35caSApple OSS Distributions inline int SIGUSR2 = 31;
86*c54f35caSApple OSS Distributions #pragma D binding "1.0" SIGUSR2
87