Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
strings.h
Go to the documentation of this file.
1 #ifndef STRINGS_H_
2 #define STRINGS_H_
3 
4 #include <stddef.h>
5 #include <stdint.h>
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif //__cplusplus
10 
22 int fls(int mask);
23 
35 int flsl(long mask);
36 
48 int flsll(long long mask);
49 
50 #ifdef __cplusplus
51 }
52 #endif //__cplusplus
53 
54 #endif // STRINGS_H_
int flsl(long mask)
Finds the last (most significant) bit set in the given mask.
Definition: flsl.c:62
int fls(int mask)
Finds the last (most significant) bit set in the given mask.
Definition: fls.c:68
int flsll(long long mask)
Finds the last (most significant) bit set in the given mask.
Definition: flsll.c:62