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

int pthread_condattr_getclock(const pthread_condattr_t *a, clockid_t *clk)
{
	*clk = *a & 0x7fffffff;
	return 0;
}