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

/illumos-gate/usr/src/lib/libscf/common/
H A Derror.c86 static pthread_key_t scf_error_key = PTHREAD_ONCE_KEY_NP; variable
91 return (pthread_key_create_once_np(&scf_error_key, NULL) == 0);
104 static pthread_key_t scf_error_key = 0; variable
115 if (pthread_key_create(&scf_error_key, NULL) == 0)
132 (void) pthread_setspecific(scf_error_key, (void *)code);
143 ret = (scf_error_t)pthread_getspecific(scf_error_key);

Completed in 59 milliseconds