ck_ht_hash_direct3
Generate a hash value for a hash table
Usage
#include <ck_ht.h>
void
ck_ht_hash_direct(ck_ht_hash_t *h, ck_ht_t *ht, uintptr_t key);
Library
Concurrency Kit (libck, -lck)
Overview
The ck_ht_hash_direct() function will generate a hash value in the object pointed to by the h argument. The hash value is valid for use in the hash table pointed to by the ht argument for the key (of direct type) specified by the key argument.
Return values
ck_ht_hash_direct() has no return value.
Errors
Behavior is undefined if key is a 0 or UINTPTR_MAX value or if ht is uninitialized.
Releases
Unchanged in 5 releases since Debian 8 (Jessie).