NAME
ffs - find first bit set in a wordSYNOPSIS
#include <strings.h>
int ffs(int i);
DESCRIPTION
The ffs() function returns the position of the first bit set inthe word i. The least significant bit is position 1 and themost significant position e.g. 32 or 64.bit0为1返回1,最高位为1返回32或64。