diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2016-01-05 20:04:57 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2016-01-05 20:04:57 +0000 |
commit | 2b0ab2120becaa40b777e7c43bfa57cb0397e3a9 (patch) | |
tree | f20e09817ee647b750fb0e59d8cc543301b29a3e /doc/libstddjb | |
parent | 60ab25645e64e5e054d9b101091e3b1abd87d36e (diff) | |
download | skalibs-2b0ab2120becaa40b777e7c43bfa57cb0397e3a9.tar.xz |
Add bitarray_first{clear,set}_skip (thx jjk)
version: rc for 2.3.9.0 after Makefile fix
Diffstat (limited to 'doc/libstddjb')
-rw-r--r-- | doc/libstddjb/bitarray.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/libstddjb/bitarray.html b/doc/libstddjb/bitarray.html index 03f81df..0695ff1 100644 --- a/doc/libstddjb/bitarray.html +++ b/doc/libstddjb/bitarray.html @@ -123,10 +123,24 @@ the total number of bits. If all bits in <em>s</em> are set, <em>len</em> is ret </p> <p> +<code> unsigned int bitarray_firstclear_skip (unsigned char const *s, unsigned int len, unsigned int skip) </code> <br /> +Like <tt>bitarray_firstclear</tt>, but the first <em>skip</em> bits are +ignored: the function cannot return less than <em>skip</em>. It is a +programming error if <em>skip</em> > <em>len</em>. +</p> + +<p> <code> unsigned int bitarray_firstset (unsigned char const *s, unsigned int len) </code> <br /> Returns the number of the first set bit in <em>s</em>, <em>len</em> being the total number of bits. If all bits in <em>s</em> are clear, <em>len</em> is returned. </p> +<p> +<code> unsigned int bitarray_firstset_skip (unsigned char const *s, unsigned int len, unsigned int skip) </code> <br /> +Like <tt>bitarray_firstset</tt>, but the first <em>skip</em> bits are +ignored: the function cannot return less than <em>skip</em>. It is a +programming error if <em>skip</em> > <em>len</em>. +</p> + </body> </html> |