Scroll to navigation

FFZ(9) Basic C Library Functions FFZ(9)

NAME

ffz - find first zero bit in word

SYNOPSIS

unsigned long ffz(unsigned long word);

ARGUMENTS

unsigned long word
The word to search

DESCRIPTION

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

COPYRIGHT

July 2017 Kernel Hackers Manual 4.11