summaryrefslogtreecommitdiff
path: root/sys/compat/osf1/osf1_signal.h
blob: a224df51cb611cd6ea9fa97117605b5a06528643 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/* 	$OpenBSD: osf1_signal.h,v 1.4 2000/08/04 15:47:55 ericj Exp $	*/
/*	$NetBSD: osf1_signal.h,v 1.5 1999/05/01 02:57:11 cgd Exp $	*/

/* XXX OUT OF DATE, some of the non-signal number bits here don't belong */

#ifndef _OSF1_SIGNAL_H
#define _OSF1_SIGNAL_H

#define OSF1_SIGHUP	 1
#define OSF1_SIGINT	 2
#define OSF1_SIGQUIT	 3
#define OSF1_SIGILL	 4
#define OSF1_SIGTRAP	 5
#define OSF1_SIGABRT	 6
#define OSF1_SIGEMT	 7
#define OSF1_SIGFPE	 8
#define OSF1_SIGKILL	 9
#define OSF1_SIGBUS	10
#define OSF1_SIGSEGV	11
#define OSF1_SIGSYS	12
#define OSF1_SIGPIPE	13
#define OSF1_SIGALRM	14
#define OSF1_SIGTERM	15
#define OSF1_SIGURG	16
#define OSF1_SIGSTOP	17
#define OSF1_SIGTSTP	18
#define OSF1_SIGCONT	19
#define OSF1_SIGCHLD	20
#define OSF1_SIGTTIN	21
#define OSF1_SIGTTOU	22
#define OSF1_SIGIO	23
#define OSF1_SIGXCPU	24
#define OSF1_SIGXFSZ	25
#define OSF1_SIGVTALRM	26
#define OSF1_SIGPROF	27
#define OSF1_SIGWINCH	28
#define OSF1_SIGINFO	29
#define OSF1_SIGUSR1	30
#define OSF1_SIGUSR2	31
#define OSF1_NSIG	32

#define	OSF1_SIG_DFL		(void(*)())0
#define	OSF1_SIG_ERR		(void(*)())-1
#define	OSF1_SIG_IGN		(void(*)())1
#define	OSF1_SIG_HOLD		(void(*)())2

#define OSF1_SIG_BLOCK		1
#define OSF1_SIG_UNBLOCK	2
#define OSF1_SIG_SETMASK	3

#endif /* !_OSF1_SIGNAL_H */