2 * Copyright 2005-2011, Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT license.
7 * Ingo Weinhold, ingo_weinhold@gmx.de
16 #include <syscall_utils.h>
18 #include <symbol_versioning.h>
21 #include <errno_private.h>
22 #include <signal_private.h>
26 __sigsuspend_beos(const sigset_t_beos
* beosMask
)
28 sigset_t mask
= from_beos_sigset(*beosMask
);
29 return __sigsuspend(&mask
);
34 __sigsuspend(const sigset_t
* mask
)
36 __set_errno(_kern_sigsuspend(mask
));
44 DEFINE_LIBROOT_KERNEL_SYMBOL_VERSION("__sigsuspend_beos", "sigsuspend@",
47 DEFINE_LIBROOT_KERNEL_SYMBOL_VERSION("__sigsuspend", "sigsuspend@@",