X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=libiberty%2Fffs.c;h=de047e217eb30502b1cd5edc20d506294716543d;hb=b59ff9d5ff023638dba11477c822313178d14e4d;hp=8ffb03e7c5e2ab762e43797c4a3a36057b28b770;hpb=7b78baae9b0beeee74aa508c150c35b4f9f35982;p=deliverable%2Fbinutils-gdb.git diff --git a/libiberty/ffs.c b/libiberty/ffs.c index 8ffb03e7c5..de047e217e 100644 --- a/libiberty/ffs.c +++ b/libiberty/ffs.c @@ -1,14 +1,12 @@ /* ffs -- Find the first bit set in the parameter -NAME - ffs -- Find the first bit set in the parameter +@deftypefn Supplemental int ffs (int @var{valu}) -SYNOPSIS - int ffs (int valu) +Find the first (least significant) bit set in @var{valu}. Bits are +numbered from right to left, starting with bit 1 (corresponding to the +value 1). If @var{valu} is zero, zero is returned. -DESCRIPTION - Find the first bit set in the parameter. Bits are numbered from - right to left, starting with bit 1. +@end deftypefn */