2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
8 #include "posix_error_mapper.h"
11 WRAPPER_FUNCTION(int, pthread_condattr_destroy
,
12 (pthread_condattr_t
*condAttr
),
13 return B_TO_POSITIVE_ERROR(sReal_pthread_condattr_destroy(condAttr
));
17 WRAPPER_FUNCTION(int, pthread_condattr_init
,
18 (pthread_condattr_t
*condAttr
),
19 return B_TO_POSITIVE_ERROR(sReal_pthread_condattr_init(condAttr
));
23 WRAPPER_FUNCTION(int, pthread_condattr_getpshared
,
24 (const pthread_condattr_t
*condAttr
, int *processShared
),
25 return B_TO_POSITIVE_ERROR(sReal_pthread_condattr_getpshared(condAttr
,
30 WRAPPER_FUNCTION(int, pthread_condattr_setpshared
,
31 (pthread_condattr_t
*condAttr
, int processShared
),
32 return B_TO_POSITIVE_ERROR(sReal_pthread_condattr_setpshared(condAttr
,
37 WRAPPER_FUNCTION(int, pthread_condattr_getclock
,
38 (const pthread_condattr_t
*condAttr
, clockid_t
*clockID
),
39 return B_TO_POSITIVE_ERROR(sReal_pthread_condattr_getclock(condAttr
,
44 WRAPPER_FUNCTION(int, pthread_condattr_setclock
,
45 (pthread_condattr_t
*condAttr
, clockid_t clockID
),
46 return B_TO_POSITIVE_ERROR(sReal_pthread_condattr_setclock(condAttr
,