summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/tsearch.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdlib/tsearch.3')
-rw-r--r--lib/libc/stdlib/tsearch.34
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/stdlib/tsearch.3 b/lib/libc/stdlib/tsearch.3
index ac6d841..0c7f1bd 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;"
OpenPOWER on IntegriCloud