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
15 #include <syscall_utils.h>
17 #include <errno_private.h>
18 #include <symbol_versioning.h>
21 #include <signal_private.h>
25 __sigpending_beos(sigset_t_beos
* beosSet
)
28 if (__sigpending(&set
) != 0)
31 *beosSet
= to_beos_sigset(set
);
37 __sigpending(sigset_t
* set
)
39 RETURN_AND_SET_ERRNO(_kern_sigpending(set
));
43 DEFINE_LIBROOT_KERNEL_SYMBOL_VERSION("__sigpending_beos", "sigpending@",
46 DEFINE_LIBROOT_KERNEL_SYMBOL_VERSION("__sigpending", "sigpending@@",