mirror of
https://github.com/fluencelabs/musl
synced 2025-05-21 11:41:29 +00:00
10 lines
184 B
C
10 lines
184 B
C
#include "pthread_impl.h"
|
|
|
|
int pthread_condattr_setclock(pthread_condattr_t *a, clockid_t clk)
|
|
{
|
|
if (clk < 0 || clk-2U < 2) return EINVAL;
|
|
*a &= 0x80000000;
|
|
*a |= clk;
|
|
return 0;
|
|
}
|