musl/src/thread/pthread_condattr_getclock.c
Rich Felker b4d40e44e3 implement pthread_condattr_* interfaces
note that, while the attributes are stored, they are not used in
pthread_cond_init yet.
2011-03-07 16:20:12 -05:00

8 lines
142 B
C

#include "pthread_impl.h"
int pthread_condattr_getclock(const pthread_condattr_t *a, clockid_t *clk)
{
*clk = *a & 0x7fffffff;
return 0;
}