FFS(3B) — Silicon Graphics
NAME
ffs − bit string operation
SYNOPSIS
ffs(i)
int i;
DESCRIPTION
Ffs finds the first bit set in the argument passed it and returns the index of that bit. Bits are numbered starting at 1. A return value of 0 indicates the value passed is −1.
Version 3.6 — December 20, 1987