table of contents
other versions
__FFS(9) | Basic C Library Functions | __FFS(9) |
NAME¶
__ffs - find first set bit in wordSYNOPSIS¶
unsigned long __ffs(unsigned long word);
ARGUMENTS¶
unsigned long wordThe word to search
DESCRIPTION¶
Undefined if no bit exists, so code should check against 0 first.COPYRIGHT¶
July 2017 | Kernel Hackers Manual 4.11 |