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


Manual Reference Pages  -  CK_BITMAP_NEXT (3)

NAME

ck_bitmap_next - iterate to the next set bit in bitmap

CONTENTS

Library
Synopsis
Description
Return Values
Errors
See Also

LIBRARY

Concurrency Kit (libck, -lck)

SYNOPSIS


.In ck_bitmap.h bool ck_bitmap_next ck_bitmap_t *bitmap ck_bitmap_iterator_t iterator unsigned int *bit

DESCRIPTION

The ck_bitmap_next function will increment the iterator object pointed to by iterator to point to the next set bit in the bitmap. If ck_bitmap_next returns true then the pointer pointed to by bit is initialized to the number of the current set bit pointed to by the iterator object.

It is expected that iterator has been initialized using the ck_bitmap_iterator_init(3) function.

RETURN VALUES

If ck_bitmap_next returns true then the object pointed to by bit contains a set bit. If ck_bitmap_next returns false then value of the object pointed to by bit is undefined.

ERRORS

Behavior is undefined if iterator or bitmap are uninitialized.

SEE ALSO

ck_bitmap_base(3), ck_bitmap_size(3), ck_bitmap_init(3), ck_bitmap_set(3), ck_bitmap_reset(3), ck_bitmap_clear(3), ck_bitmap_bits(3), ck_bitmap_buffer(3), ck_bitmap_iterator_init(3)

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

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 manServer 1.07.