xref: /freebsd/cddl/lib/libdtrace/signal.d (revision 2f02600abfddfc4e9f20dd384a2e729b451e16bd)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License, Version 1.0 only
6  * (the "License").  You may not use this file except in compliance
7  * with the License.
8  *
9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10  * or http://www.opensolaris.org/os/licensing.
11  * See the License for the specific language governing permissions
12  * and limitations under the License.
13  *
14  * When distributing Covered Code, include this CDDL HEADER in each
15  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16  * If applicable, add the following below this CDDL HEADER, with the
17  * fields enclosed by brackets "[]" replaced with your own identifying
18  * information: Portions Copyright [yyyy] [name of copyright owner]
19  *
20  * CDDL HEADER END
21  *
22  * Portions Copyright 2008 John Birrell jb@freebsd.org
23  *
24  * $FreeBSD$
25  */
26 
27 inline int SIGHUP = 1;
28 #pragma D binding "1.0" SIGHUP
29 inline int SIGINT = 2;
30 #pragma D binding "1.0" SIGINT
31 inline int SIGQUIT = 3;
32 #pragma D binding "1.0" SIGQUIT
33 inline int SIGILL = 4;
34 #pragma D binding "1.0" SIGILL
35 inline int SIGTRAP = 5;
36 #pragma D binding "1.0" SIGTRAP
37 inline int SIGABRT = 6;
38 #pragma D binding "1.0" SIGABRT
39 inline int SIGEMT = 7;
40 #pragma D binding "1.0" SIGEMT
41 inline int SIGFPE = 8;
42 #pragma D binding "1.0" SIGFPE
43 inline int SIGKILL = 9;
44 #pragma D binding "1.0" SIGKILL
45 inline int SIGBUS = 10;
46 #pragma D binding "1.0" SIGBUS
47 inline int SIGSEGV = 11;
48 #pragma D binding "1.0" SIGSEGV
49 inline int SIGSYS = 12;
50 #pragma D binding "1.0" SIGSYS
51 inline int SIGPIPE = 13;
52 #pragma D binding "1.0" SIGPIPE
53 inline int SIGALRM = 14;
54 #pragma D binding "1.0" SIGALRM
55 inline int SIGTERM = 15;
56 #pragma D binding "1.0" SIGTERM
57 inline int SIGURG = 16;
58 #pragma D binding "1.0" SIGURG
59 inline int SIGSTOP = 17;
60 #pragma D binding "1.0" SIGSTOP
61 inline int SIGTSTP = 18;
62 #pragma D binding "1.0" SIGTSTP
63 inline int SIGCONT = 19;
64 #pragma D binding "1.0" SIGCONT
65 inline int SIGCHLD = 20;
66 #pragma D binding "1.0" SIGCHLD
67 inline int SIGTTIN = 21;
68 #pragma D binding "1.0" SIGTTIN
69 inline int SIGTTOU = 22;
70 #pragma D binding "1.0" SIGTTOU
71 inline int SIGIO = 23;
72 #pragma D binding "1.0" SIGIO
73 inline int SIGXCPU = 24;
74 #pragma D binding "1.0" SIGXCPU
75 inline int SIGXFSZ = 25;
76 #pragma D binding "1.0" SIGXFSZ
77 inline int SIGVTALRM = 26;
78 #pragma D binding "1.0" SIGVTALRM
79 inline int SIGPROF = 27;
80 #pragma D binding "1.0" SIGPROF
81 inline int SIGWINCH = 28;
82 #pragma D binding "1.0" SIGWINCH
83 inline int SIGINFO = 29;
84 #pragma D binding "1.0" SIGINFO
85 inline int SIGUSR1 = 30;
86 #pragma D binding "1.0" SIGUSR1
87 inline int SIGUSR2 = 31;
88 #pragma D binding "1.0" SIGUSR2
89 
90 inline int CLD_EXITED = 1;
91 #pragma D binding "1.0" CLD_EXITED
92 inline int CLD_KILLED = 2;
93 #pragma D binding "1.0" CLD_KILLED
94 inline int CLD_DUMPED = 3;
95 #pragma D binding "1.0" CLD_DUMPED
96 inline int CLD_TRAPPED = 4;
97 #pragma D binding "1.0" CLD_TRAPPED
98 inline int CLD_STOPPED = 5;
99 #pragma D binding "1.0" CLD_STOPPED
100 inline int CLD_CONTINUED = 6;
101 #pragma D binding "1.0" CLD_CONTINUED
102