COHERENT manpages
This page displays the COHERENT manpage for ffs() [Translate a bit mask into an integer value].
List of available manpages
Index
ffs() -- Sockets Function (libsocket) Translate a bit mask into an integer value int mask (mask); Function ffs() translates the bit mask mask into an integer value. It returns the integer value of the first bit to be turned on (i.e., one, two, three, etc.). If no bit is turned on within mask, it returns zero. See Also libsocket Notes This function is used by a number of X programs that manipulate fonts. COHERENT includes it for compatibility with X11R6.