Sign in
cobalt
/
cobalt
/
5864f47b864e8bb7b417f15981009ad93bdff2ac
/
.
/
third_party
/
musl
/
src
/
misc
/
ffsl.c
blob: 0105c66af9d18946ce9b3f8616c8baa6c7a55cde [
file
] [
log
] [
blame
]
#include
<strings.h>
#include
"atomic.h"
int
ffsl
(
long
i
)
{
return
i
?
a_ctz_l
(
i
)+
1
:
0
;
}