#include <signal.h>
#include "posix_error_mapper.h"
WRAPPER_FUNCTION(int, pthread_sigmask,
(int how, const sigset_t *set, sigset_t *oldSet),
return B_TO_POSITIVE_ERROR(sReal_pthread_sigmask(how, set, oldSet));
)
WRAPPER_FUNCTION(int, sigaction, (int signal, const struct sigaction *action,
struct sigaction *oldAction),
return B_TO_POSITIVE_ERROR(sReal_sigaction(signal, action, oldAction));
)
WRAPPER_FUNCTION(int, sigwait, (const sigset_t *set, int *signal),
return B_TO_POSITIVE_ERROR(sReal_sigwait(set, signal));
)