ffz (9) - Linux Manuals

ffz: find first zero bit in word

NAME

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