silc_bit_ffs

SYNOPSIS

    int silc_bit_ffs(volatile unsigned long *bitmap, SilcUInt32 bitmap_size);

DESCRIPTION

Returns the bit number of the first set bit in the `bitmap' of size of `bitmap_size'. Returns -1 on error or when there were no set bits and sets silc_errno.