FFS(3) NEWLIB FFS(3)NAME
12.1 `ffs'--find first bit set in a word
SYNOPSIS
int ffs(int WORD);
DESCRIPTION
`ffs' returns the first bit set in a word.
RETURNS
`ffs' returns 0 if C is 0, 1 if C is odd, 2 if C is a multiple of 2,
etc.
PORTABILITY
`ffs' is not ANSI C.
No supporting OS subroutines are required.
SEE ALSOffs is part of the library. The full documentation for is maintained
as a Texinfo manual. If info and are properly installed at your site,
the command
info
will give you access to the complete manual.
NEWLIB April 2010 FFS(3)