1 /* 2 * Copyright 2010-2011, Ingo Weinhold, ingo_weinhold@gmx.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 6 7 #include <signal.h> 8 9 #include "posix_error_mapper.h" 10 11 12 WRAPPER_FUNCTION(int, pthread_sigmask, 13 (int how, const sigset_t *set, sigset_t *oldSet), 14 return B_TO_POSITIVE_ERROR(sReal_pthread_sigmask(how, set, oldSet)); 15 ) 16 17 18 WRAPPER_FUNCTION(int, sigwait, (const sigset_t *set, int *signal), 19 return B_TO_POSITIVE_ERROR(sReal_sigwait(set, signal)); 20 ) 21