summaryrefslogtreecommitdiff
path: root/libiberty/ffs.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-10-16 02:55:31 +0000
committerDJ Delorie <dj@delorie.com>2001-10-16 02:55:31 +0000
commitf3be4515529c717157531bdf65d27cd9558ac5a0 (patch)
tree695d6b4bbd60ce9b111fb1ca820467c97c109fca /libiberty/ffs.c
parent4ebc0d353aac952ae3cce8620421ba232d228a92 (diff)
downloadgdb-f3be4515529c717157531bdf65d27cd9558ac5a0.tar.gz
merge from gcc
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 8ffb03e7c5e..4a92c828a81 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
*/