__ffs(9)

NAME

__ffs - find first set 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.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout