about summary refs log tree commit diff
path: root/src/thread/pthread_mutexattr_getpshared.c
blob: e7340b1ab3c29ae859825a11b13379cfe955ecce (plain) (blame)
1
2
3
4
5
6
7
#include "pthread_impl.h"

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