ck_ht_entry_key(3) return pointer to key as specified in hash table entry

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_ht.h Ft void * Fn ck_ht_entry_key ck_ht_entry_t *entry

DESCRIPTION

The Fn ck_ht_entry_key function will return the key pointer as specified in the object pointed to by the Fa entry argument.

It is expected that the entry is associated with a hash table initialized with CK_HT_MODE_BYTESTRING (see ck_ht_init3 for more information).

RETURN VALUES

Fn ck_ht_entry_key returns NULL if the entry is empty.

ERRORS

Behavior is undefined if Fa entry has not been initialized.