diff options
Diffstat (limited to 'doc/libstddjb/bitarray.html')
-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> |