hash_get_buckets_allocated

hash_get_buckets_used(3)      Programmer's Manual     hash_get_buckets_used(3)



NAME
       hash_get_buckets_used, hash_get_buckets_allocated - return the number
       of buckets in a hash

SYNOPSIS
       #include </work/a/ports/devel/c2lib/work/c2lib-1.4.2/hash.h>

       int hash_get_buckets_used (hash);
       int hash_get_buckets_allocated (hash);

DESCRIPTION
       Return the number of hash buckets used and allocated. The number of
       buckets allocated is always a power of 2. See also
       hash_set_buckets_allocated to change the number used in the hash.

AUTHOR
       Richard Jones <rich@annexia.org>

LICENSE
       GNU LGPL (see http://www.gnu.org/)

VERSION
       c2lib-1.4.2




GNU                            February 02, 2011      hash_get_buckets_used(3)