SysTutorials

Linux Manual Pages › Section 9

ffz(9)

ffz - find first zero bit in word

Synopsis

unsigned long ffz(unsigned long word);

Arguments

word

The word to search

Description

Undefined if no zero exists, so code should check against ~0UL first.

Copyright