signal.h revision 091a80ae
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
19extern "C" {
20#endif
21
22int sigsetmask(int mask);
23int sigblock(int mask);
24
25#ifdef __cplusplus
26}
27#endif
28
29
30#endif
31
32
33#endif	/* _BSD_SIGNAL_H_ */
34