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

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