projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
implement ffsl and ffsll functions
[oweals/musl.git]
/
src
/
misc
/
ffsll.c
1
#include <strings.h>
2
#include "atomic.h"
3
4
int ffsll(long long i)
5
{
6
return i ? a_ctz_64(i)+1 : 0;
7
}