1FLS64(9)                   Basic C Library Functions                  FLS64(9)
2
3
4

NAME

6       fls64 - find last set bit in a 64-bit word
7

SYNOPSIS

9       int fls64(__u64 x);
10

ARGUMENTS

12       x
13           the word to search
14

DESCRIPTION

16       This is defined in a similar way as the libc and compiler builtin
17       ffsll, but returns the position of the most significant set bit.
18
19       fls64(value) returns 0 if value is 0 or the position of the last set
20       bit if value is nonzero. The last (most significant) bit is at position
21       64.
22
24Kernel Hackers Manual 3.10         June 2019                          FLS64(9)
Impressum