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

int pthread_mutexattr_gettype(const pthread_mutexattr_t *a, int *type)
{
	*type = *a & 3;
	return 0;
}