bitarray.c File Reference

Bitarray module. More...

#include "bitarray.h"
#include <string.h>

Go to the source code of this file.

Functions

int bitarray_firstSetBit (BitArray *bitx)
 Return the position of the first bit non zero in bitarray.

Detailed Description

Bitarray module.

Author:
Daniele Basile <asterix@develer.com>

Definition in file bitarray.c.


Function Documentation

int bitarray_firstSetBit ( BitArray *  bitx)

Return the position of the first bit non zero in bitarray.

Parameters:
bitxBitArray context
Returns:
Position in bitarray when firt bit non zero occur, -1 otherwise

Definition at line 55 of file bitarray.c.