Loading...
stdlib/tsearch.3 Libc-763.11 Libc-583
--- Libc/Libc-763.11/stdlib/tsearch.3
+++ Libc/Libc-583/stdlib/tsearch.3
@@ -25,7 +25,7 @@
 .\" ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
 .\"	OpenBSD: tsearch.3,v 1.2 1998/06/21 22:13:49 millert Exp
-.\" $FreeBSD: src/lib/libc/stdlib/tsearch.3,v 1.15 2006/06/23 13:36:33 keramida Exp $
+.\" $FreeBSD: src/lib/libc/stdlib/tsearch.3,v 1.13 2004/07/02 23:52:12 ru Exp $
 .\"
 .Dd June 15, 1997
 .Dt TSEARCH 3
@@ -59,7 +59,7 @@
 .Ft void
 .Fo twalk
 .Fa "const void *root"
-.Fa "void (*action) (const void *node, VISIT order, int level)"
+.Fa "void (*compar) (const void *node, VISIT order, int level)"
 .Fc
 .Sh DESCRIPTION
 The
@@ -156,6 +156,10 @@
 to what would typically be referred to as in-order, and the
 traversal type "endorder" corresponds to what would typically
 be referred to as post-order.
+.Sh SEE ALSO
+.Xr bsearch 3 ,
+.Xr hsearch 3 ,
+.Xr lsearch 3
 .Sh RETURN VALUES
 The
 .Fn tsearch
@@ -175,7 +179,3 @@
 The
 .Fn twalk
 function returns no value.
-.Sh SEE ALSO
-.Xr bsearch 3 ,
-.Xr hsearch 3 ,
-.Xr lsearch 3