Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
misc
/
ffs.c
blob: 673ce5a9758284c7eca182b32de3902c9b353b3f [
file
] [
log
] [
blame
]
#include
<strings.h>
#include
"atomic.h"
int
ffs
(
int
i
)
{
return
i
?
a_ctz_l
(
i
)+
1
:
0
;
}