rework langinfo code for ABI compat and for use by time code
[musl] / thread / pthread_condattr_getclock.c
1 #include "pthread_impl.h"
2
3 int pthread_condattr_getclock(const pthread_condattr_t *restrict a, clockid_t *restrict clk)
4 {
5         *clk = *a & 0x7fffffff;
6         return 0;
7 }