b4d40e44
9d5251f7
1 2 3 4
5
6 7 8 9
#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; }