thr_keycreate
#define HEIMDAL_key_create(k,d,r) do { r = thr_keycreate(k,d); } while(0)
ttyname_keycreated = (thr_keycreate(&ttyname_key, free) == 0);
gai_keycreated = thr_keycreate(&gai_key, free) == 0;
(thr_keycreate(&name##_key, name##_free) == 0); \
res_thr_keycreated = thr_keycreate(&res_key, free_res) == 0;
rpc_call_key_error = thr_keycreate(&rpc_call_key, rpc_call_destroy);
key_call_key_error = thr_keycreate(&key_call_key, key_call_destroy);
rce_key_error = thr_keycreate(&rce_key, free);
tcp_key_error = thr_keycreate(&tcp_key, free);
udp_key_error = thr_keycreate(&udp_key, free);
sig_keycreated = (thr_keycreate(&sig_key, free) == 0);