summaryrefslogtreecommitdiff
path: root/manual/search.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-30 04:18:33 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-30 04:18:33 +0000
commitda2a3ca6e2d712c2495aafa02364366f8534e4bc (patch)
treea7e1e5f8e6cbe9a256416616309a1da7f9ffa1ec /manual/search.texi
parent9c3b1ceba810a51cb0069644e1bc72cb9a1cbc8c (diff)
Update.
2000-10-29 Greg Louis <glouis@dynamicro.on.ca> * posix/regex.h (__restrict_arr): Move definition out of #ifndef block. Required because egcs-2.91.66 (aka 1.1.2) defines __restrict, but doesn't define __restrict_arr. * manual/search.texi: Correct description if VISIT values. Patch by Ben Collins <bcollins@debian.org>.
Diffstat (limited to 'manual/search.texi')
-rw-r--r--manual/search.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/manual/search.texi b/manual/search.texi
index 4da504cc9e..bb74705b0f 100644
--- a/manual/search.texi
+++ b/manual/search.texi
@@ -529,10 +529,10 @@ three methods of tree traversal (or even a combination of them).
@item preorder
The current node is an internal node and the function is called before
the first child was processed.
-@item endorder
+@item postorder
The current node is an internal node and the function is called after
the first child was processed.
-@item postorder
+@item endorder
The current node is an internal node and the function is called after
the second child was processed.
@item leaf
@@ -543,7 +543,7 @@ The current node is a leaf.
@comment search.h
@comment SVID
@deftypefun void twalk (const void *@var{root}, __action_fn_t @var{action})
-For each node in the tree with a node pointed to by @var{root} the
+For each node in the tree with a node pointed to by @var{root}, the
@code{twalk} function calls the function provided by the parameter
@var{action}. For leaf nodes the function is called exactly once with
@var{value} set to @code{leaf}. For internal nodes the function is
@@ -554,8 +554,8 @@ by one for the descend to a child, starting with the value @math{0} for
the root node.
Since the functions used for the @var{action} parameter to @code{twalk}
-must not modify the tree data it is safe to run @code{twalk} is more
-than one thread at the same time working on the same tree. It is also
+must not modify the tree data, it is safe to run @code{twalk} in more
+than one thread at the same time, working on the same tree. It is also
safe to call @code{tfind} in parallel. Functions which modify the tree
-must not be used. Otherwise the behaviour is undefined.
+must not be used, otherwise the behaviour is undefined.
@end deftypefun