diff options
Diffstat (limited to 'src/thread/pthread_condattr_getclock.c')
-rw-r--r-- | src/thread/pthread_condattr_getclock.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/thread/pthread_condattr_getclock.c b/src/thread/pthread_condattr_getclock.c new file mode 100644 index 00000000..a77cc3e0 --- /dev/null +++ b/src/thread/pthread_condattr_getclock.c @@ -0,0 +1,7 @@ +#include "pthread_impl.h" + +int pthread_condattr_getclock(const pthread_condattr_t *a, clockid_t *clk) +{ + *clk = *a & 0x7fffffff; + return 0; +} |