Name

__ffs — find first bit in word.

Synopsis

unsigned long __ffs (unsigned long word);

Arguments

word

The word to search

Description

Undefined if no bit exists, so code should check against 0 first.