FFZ

Section: Basic C Library Functions (9)
Updated: February 2011
Index Return to Main Contents
 

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