GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
CK_BITMAP_SIZE(3) FreeBSD Library Functions Manual CK_BITMAP_SIZE(3)

ck_bitmap_size
returns necessary number of bytes for bitmap

Concurrency Kit (libck, -lck)

#include <ck_bitmap.h>

unsigned int
ck_bitmap_size(unsigned int n_bits);

The ck_bitmap_size() function returns the number of bytes that are necessary to allocate for a bitmap that will contain the number of bits specified by n_bits.

This function is used to determine how many bytes to allocate for dynamically created bitmap objects. The allocated object must still be initialized using ck_bitmap_init(3).

This function returns a non-zero value.

ck_bitmap_base(3), ck_bitmap_init(3), ck_bitmap_set_mpmc(3), ck_bitmap_reset_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

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.