HaikuDepot: notify work status from main window
[haiku.git] / src / libs / posix_error_mapper / signal.cpp
blobbfaf4e0ce99a2bf69bc1429e4a8651e9d1e1be17
1 /*
2 * Copyright 2010-2011, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
7 #include <signal.h>
9 #include "posix_error_mapper.h"
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));
18 WRAPPER_FUNCTION(int, sigwait, (const sigset_t *set, int *signal),
19 return B_TO_POSITIVE_ERROR(sReal_sigwait(set, signal));