1 /* 2 * Copyright 2006-2008, 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 #define sigmask(sig) (1 << ((sig) - 1)) 13 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 int sigsetmask(int mask); 20 int sigblock(int mask); 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif /* _BSD_SIGNAL_H_ */ 27