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

int pthread_mutexattr_getpshared(const pthread_mutexattr_t *a, int *pshared)
{
	*pshared = *a>>31;
	return 0;
}