xref: /haiku/headers/compatibility/bsd/signal.h (revision f2df0cfe93a902842f6f4629ff614f5b3f9bf687)
1 /*
2  * Copyright 2006-2010 Haiku Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _BSD_SIGNAL_H_
6 #define _BSD_SIGNAL_H_
7 
8 
9 #include_next <signal.h>
10 
11 
12 #ifdef _BSD_SOURCE
13 
14 
15 #define	sigmask(sig) (1 << ((sig) - 1))
16 
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 int sigsetmask(int mask);
23 int sigblock(int mask);
24 
25 #ifdef __cplusplus
26 }
27 #endif
28 
29 
30 #endif
31 
32 
33 #endif	/* _BSD_SIGNAL_H_ */
34