aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2002-12-19 09:40:28 +0000
commit2efeeba554cbd7bdee9cfe17641c8bd335c7972f (patch)
treef0781cb8e5be3a35234a6d0c123d6ae11ba70e40 /lib/libc/stdlib
parent3ca4c01eea0e54f4f560aff65f774d6bd0b0b87c (diff)
downloadsrc-2efeeba554cbd7bdee9cfe17641c8bd335c7972f.tar.gz
src-2efeeba554cbd7bdee9cfe17641c8bd335c7972f.zip
mdoc(7) police: "The .Fa argument.".
Notes
Notes: svn path=/head/; revision=108087
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/lsearch.32
-rw-r--r--lib/libc/stdlib/tsearch.34
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/libc/stdlib/lsearch.3 b/lib/libc/stdlib/lsearch.3
index 4eecb1e87577..e3a324cd52f8 100644
--- a/lib/libc/stdlib/lsearch.3
+++ b/lib/libc/stdlib/lsearch.3
@@ -37,7 +37,9 @@ and
functions walk linearly through an array and compare each element with
the one to be sought using a supplied comparison function.
.Pp
+The
.Fa key
+argument
points to an element that matches the one that is searched.
The array's address in memory is denoted by the
.Fa base
diff --git a/lib/libc/stdlib/tsearch.3 b/lib/libc/stdlib/tsearch.3
index ac6d841cfa80..0c7f1bdba063 100644
--- a/lib/libc/stdlib/tsearch.3
+++ b/lib/libc/stdlib/tsearch.3
@@ -97,7 +97,9 @@ walks the binary search tree rooted in
and calls the function
.Fa action
on each node.
-.Fa Action
+The
+.Fa action
+function
is called with three arguments: a pointer to the current node,
a value from the enum
.Sy "typedef enum { preorder, postorder, endorder, leaf } VISIT;"