Cross Reference: ffs.c
xref
: /
haiku
/
src
/
system
/
libroot
/
posix
/
musl
/
misc
/
ffs.c
Home
History
Annotate
Annotate
Line#
Navigate
Raw
Download
only in
/haiku/src/system/libroot/posix/musl/misc/
1
#
include
"
atomic.h
"
2
3
int
ffs
(
int
i);
4
int
ffs
(
int
i)
5
{
6
return
i ?
a_ctz_l
(i)+
1
: 0;
7
}
8