Copyright (C) 2000-2012 |
Manpages FFSSection: Linux Programmer's Manual (3 )Updated: 1993-04-13 Index Return to Main Contents NAMEffs - find first bit set in a wordSYNOPSIS#include <string.h> int ffs(int i); DESCRIPTIONThe ffs() function returns the position of the first bit set in the word i. The least significant bit is position 1 and the most significant position 32.RETURN VALUEThe ffs() function returns the position of the first bit set, or 0 if no bits are set.CONFORMING TOBSD 4.3, SUSv2According to SUSv2, this function is defined in <strings.h>.
IndexThis document was created by man2html, using the manual pages. Time: 16:40:30 GMT, April 25, 2024 |