Searched refs:errkey (Results 1 - 3 of 3) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/sgs/libelf/common/
H A Derror.c47 static thread_key_t errkey = THR_ONCE_KEY; variable
69 (void) thr_keycreate_once(&errkey, 0);
70 (void) thr_setspecific(errkey, (void *)encerr);
79 return ((uintptr_t)pthread_getspecific(errkey));
/opensolaris-onvv-gate/usr/src/lib/libexacct/common/
H A Dexacct_ops.c49 static thread_key_t errkey = THR_ONCE_KEY; variable
300 (void) thr_keycreate_once(&errkey, 0);
301 (void) thr_setspecific(errkey, (void *)(intptr_t)errval);
309 if (errkey == THR_ONCE_KEY)
311 return ((int)(uintptr_t)pthread_getspecific(errkey));
/opensolaris-onvv-gate/usr/src/lib/libpool/common/
H A Dpool.c116 static thread_key_t errkey = THR_ONCE_KEY; variable
613 (void) thr_keycreate_once(&errkey, 0);
614 (void) thr_setspecific(errkey, (void *)(intptr_t)errval);
626 if (errkey == THR_ONCE_KEY)
628 return ((uintptr_t)pthread_getspecific(errkey));

Completed in 101 milliseconds