From 2b0ab2120becaa40b777e7c43bfa57cb0397e3a9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 5 Jan 2016 20:04:57 +0000 Subject: Add bitarray_first{clear,set}_skip (thx jjk) version: rc for 2.3.9.0 after Makefile fix --- doc/libstddjb/bitarray.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc/libstddjb/bitarray.html') 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 @@ -122,11 +122,25 @@ Returns the number of the first clear bit in s, len being the total number of bits. If all bits in s are set, len is returned.

+

+ unsigned int bitarray_firstclear_skip (unsigned char const *s, unsigned int len, unsigned int skip)
+Like bitarray_firstclear, but the first skip bits are +ignored: the function cannot return less than skip. It is a +programming error if skip > len. +

+

unsigned int bitarray_firstset (unsigned char const *s, unsigned int len)
Returns the number of the first set bit in s, len being the total number of bits. If all bits in s are clear, len is returned.

+

+ unsigned int bitarray_firstset_skip (unsigned char const *s, unsigned int len, unsigned int skip)
+Like bitarray_firstset, but the first skip bits are +ignored: the function cannot return less than skip. It is a +programming error if skip > len. +

+ -- cgit v1.3.1