MANPAGES
Skip Quicknav
/ unstable / linux-manual-4.9 / __ffs(9)
Scroll to navigation
__ffs - find first set bit in word
unsigned long __ffs(unsigned long word);
word
Undefined if no bit exists, so code should check against 0 first.