aboutsummaryrefslogtreecommitdiff
path: root/libiberty/ffs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/ffs.c')
-rw-r--r--libiberty/ffs.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/libiberty/ffs.c b/libiberty/ffs.c
index 8ffb03e..4a92c82 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
*/