ck_ht_hash_direct(3) generate a hash value for a hash table

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS

In ck_ht.h Ft void Fn ck_ht_hash_direct ck_ht_hash_t *h ck_ht_t *ht uintptr_t key

DESCRIPTION

The Fn ck_ht_hash_direct function will generate a hash value in the object pointed to by the Fa h argument. The hash value is valid for use in the hash table pointed to by the Fa ht argument for the key (of direct type) specified by the Fa key argument.

RETURN VALUES

Fn ck_ht_hash_direct has no return value.

ERRORS

Behavior is undefined if Fa key is a 0 or UINTPTR_MAX value or if Fa ht is uninitialized.