| Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3) |
FFSSection: Linux Programmer's Manual (3)Updated: April 13, 2025 Index 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 NULL if no bits are set.CONFORMING TOBSD 4.3
IndexThis document was created by using the manual pages. Time: 11:58:03 GMT, March 24, 2025 |
|
© 2001 Red Hat, Inc. All rights reserved. About Red Hat : Legal statement : Privacy statement : Y2K statement : Contact Red Hat |