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 (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26 #ifndef _LX_SIGNUM_H
27 #define _LX_SIGNUM_H
28
29 #pragma ident "%Z%%M% %I% %E% SMI"
30
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34
35 #define LX_SIGHUP 1
36 #define LX_SIGINT 2
37 #define LX_SIGQUIT 3
38 #define LX_SIGILL 4
39 #define LX_SIGTRAP 5
40 #define LX_SIGABRT 6
41 #define LX_SIGIOT 6
42 #define LX_SIGBUS 7
43 #define LX_SIGFPE 8
44 #define LX_SIGKILL 9
45 #define LX_SIGUSR1 10
46 #define LX_SIGSEGV 11
47 #define LX_SIGUSR2 12
48 #define LX_SIGPIPE 13
49 #define LX_SIGALRM 14
50 #define LX_SIGTERM 15
51 #define LX_SIGSTKFLT 16
52 #define LX_SIGCHLD 17
53 #define LX_SIGCONT 18
54 #define LX_SIGSTOP 19
55 #define LX_SIGTSTP 20
56 #define LX_SIGTTIN 21
57 #define LX_SIGTTOU 22
58 #define LX_SIGURG 23
59 #define LX_SIGXCPU 24
60 #define LX_SIGXFSZ 25
61 #define LX_SIGVTALRM 26
62 #define LX_SIGPROF 27
63 #define LX_SIGWINCH 28
64 #define LX_SIGIO 29
65 #define LX_SIGPOLL LX_SIGIO
66 #define LX_SIGPWR 30
67 #define LX_SIGSYS 31
68 #define LX_SIGUNUSED 31
69
70 #define LX_NSIG_WORDS 2
71 #define LX_NBPW 32
72 #define LX_NSIG ((LX_NBPW * LX_NSIG_WORDS) + 1)
73
74 #define LX_SIGRTMIN 32
75 #define LX_SIGRTMAX LX_NSIG - 1
76
77 extern const int ltos_signo[];
78 extern const int stol_signo[];
79
80 #ifdef __cplusplus
81 }
82 #endif
83
84 #endif /* _LX_SIGNUM_H */