Debian Codegraph @

doc/ck_bitmap_iterator_init

raw
1 .\"
2 .\" Copyright 2012-2013 Samy Al Bahra.
3 .\" Copyright 2012-2013 Shreyas Prasad.
4 .\" All rights reserved.
5 .\"
6 .\" Redistribution and use in source and binary forms, with or without
7 .\" modification, are permitted provided that the following conditions
8 .\" are met:
9 .\" 1. Redistributions of source code must retain the above copyright
10 .\" notice, this list of conditions and the following disclaimer.
11 .\" 2. Redistributions in binary form must reproduce the above copyright
12 .\" notice, this list of conditions and the following disclaimer in the
13 .\" documentation and/or other materials provided with the distribution.
14 .\"
15 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
16 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
19 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 .\" SUCH DAMAGE.
26 .\"
27 .\"
28 .Dd April 27, 2012
29 .Dt CK_BITMAP_ITERATOR_INIT 3
30 .Sh NAME
31 .Nm ck_bitmap_iterator_init
32 .Nd initialize bitmap iterator
33 .Sh LIBRARY
34 Concurrency Kit (libck, \-lck)
35 .Sh SYNOPSIS
36 .In ck_ht.h
37 .Pp
38 .Ft void
39 .Fn ck_bitmap_iterator_init "ck_bitmap_iterator_t *iterator" "ck_bitmap_t *bitmap"
40 .Sh DESCRIPTION
41 The
42 .Fn ck_bitmap_iterator_init
43 function will initialize the object pointed to by
44 the
45 .Fa iterator
46 argument for use with
47 .Fa bitmap .
48 .Pp
49 An iterator is used to iterate through set bitmap bits
50 with the
51 .Xr ck_bitmap_next 3
52 function.
53 .Sh RETURN VALUES
54 The
55 .Fn ck_bitmap_iterator_init
56 function does not return a value.
57 .Sh ERRORS
58 This function will not fail.
59 .Sh SEE ALSO
60 .Xr ck_bitmap_base 3 ,
61 .Xr ck_bitmap_size 3 ,
62 .Xr ck_bitmap_init 3 ,
63 .Xr ck_bitmap_set 3 ,
64 .Xr ck_bitmap_reset 3 ,
65 .Xr ck_bitmap_clear 3 ,
66 .Xr ck_bitmap_bits 3 ,
67 .Xr ck_bitmap_buffer 3 ,
68 .Xr ck_bitmap_next 3
69 .Pp
70 Additional information available at http://concurrencykit.org/