Name

ffs — find first bit set

Synopsis

int ffs (int x);

Arguments

x

the word to search

Description

This is defined the same way as the libc and compiler builtin ffs routines, therefore differs in spirit from the above ffz (man ffs).