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

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