HaikuDepot: notify work status from main window
[haiku.git] / src / libs / posix_error_mapper / pthread_rwlockattr.cpp
blobf8f06ea2511a214dfbc03dddfa7e677f3372699b
1 /*
2 * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3 * Distributed under the terms of the MIT License.
4 */
6 #include <pthread.h>
8 #include "posix_error_mapper.h"
11 WRAPPER_FUNCTION(int, pthread_rwlockattr_init,
12 (pthread_rwlockattr_t *attr),
13 return B_TO_POSITIVE_ERROR(sReal_pthread_rwlockattr_init(attr));
17 WRAPPER_FUNCTION(int, pthread_rwlockattr_destroy,
18 (pthread_rwlockattr_t *attr),
19 return B_TO_POSITIVE_ERROR(sReal_pthread_rwlockattr_destroy(attr));
23 WRAPPER_FUNCTION(int, pthread_rwlockattr_getpshared,
24 (const pthread_rwlockattr_t *attr, int *shared),
25 return B_TO_POSITIVE_ERROR(sReal_pthread_rwlockattr_getpshared(attr,
26 shared));
30 WRAPPER_FUNCTION(int, pthread_rwlockattr_setpshared,
31 (pthread_rwlockattr_t *attr, int shared),
32 return B_TO_POSITIVE_ERROR(sReal_pthread_rwlockattr_setpshared(attr,
33 shared));