aboutsummaryrefslogtreecommitdiff
path: root/libiberty/ffs.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-10-16 02:55:31 +0000
committerDJ Delorie <dj@redhat.com>2001-10-16 02:55:31 +0000
commitba19b94f67aeec0722939ce17b4067c8fd05f4cc (patch)
treedb034680b326cb43083236abf9737518d7e1c78a /libiberty/ffs.c
parenta3366758ce10f5bc06f1a128c4eb82cf2a82e455 (diff)
downloadgdb-ba19b94f67aeec0722939ce17b4067c8fd05f4cc.zip
gdb-ba19b94f67aeec0722939ce17b4067c8fd05f4cc.tar.gz
gdb-ba19b94f67aeec0722939ce17b4067c8fd05f4cc.tar.bz2
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 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
*/