summaryrefslogtreecommitdiff
path: root/src/thread/pthread_rwlockattr_getpshared.c
blob: 0217bf4e5fefc3999c4930182c77d89e9a5bf884 (plain) (blame)
1
2
3
4
5
6
7
#include "pthread_impl.h"

int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t *a, int *pshared)
{
	*pshared = *(int *)a;
	return 0;
}