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

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