Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
NAME
     ck_bitmap_size -- returns necessary number of bytes for bitmap

LIBRARY
     Concurrency Kit (libck, -lck)

SYNOPSIS
     #include <ck_bitmap.h>

     unsigned int
     ck_bitmap_size(unsigned int n_bits);

DESCRIPTION
     The  ck_bitmap_size()  function returns the number of bytes that are neces-
     sary to allocate for a bitmap that will contain the number of  bits  speci-
     fied by n_bits.

     This  function  is used to determine how many bytes to allocate for dynami-
     cally created bitmap objects. The allocated object must still  be	initial-
     ized using ck_bitmap_init(3).

RETURN VALUES
     This function returns a non-zero value.

SEE ALSO
     ck_bitmap_base(3),  ck_bitmap_init(3), ck_bitmap_set_mpmc(3), ck_bitmap_re-
     set_mpmc(3),  ck_bitmap_test(3),	ck_bitmap_clear(3),   ck_bitmap_bits(3),
     ck_bitmap_buffer(3)

     Additional information available at http://concurrencykit.org/

				 April 22, 2012 	       CK_BITMAP_SIZE(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=ck_bitmap_size&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help