mirror of
https://github.com/fluencelabs/musl
synced 2025-05-23 04:31:32 +00:00
10 lines
170 B
C
10 lines
170 B
C
|
#include "pthread_impl.h"
|
||
|
|
||
|
int pthread_condattr_setclock(pthread_condattr_t *a, clockid_t clk)
|
||
|
{
|
||
|
if (clk < 0) return EINVAL;
|
||
|
*a &= 0x80000000;
|
||
|
*a |= clk;
|
||
|
return 0;
|
||
|
}
|