diff options
| author | wiz <wiz@NetBSD.org> | 2002-10-01 17:22:00 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2002-10-01 17:22:00 +0000 |
| commit | 6569c5c50996a3ffc19fc4b63fa6d74cd573f4f3 (patch) | |
| tree | b640f9cbe5bf5ee4b28d53fc73216174300f972e /lib/libc/stdlib/tsearch.3 | |
| parent | 45dfd29508988be493867313533f1d1c7652a81b (diff) | |
New sentence, new line. From Robert Elz.
Diffstat (limited to 'lib/libc/stdlib/tsearch.3')
| -rw-r--r-- | lib/libc/stdlib/tsearch.3 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libc/stdlib/tsearch.3 b/lib/libc/stdlib/tsearch.3 index 620c237e92d..d6b1711594c 100644 --- a/lib/libc/stdlib/tsearch.3 +++ b/lib/libc/stdlib/tsearch.3 @@ -1,4 +1,4 @@ -.\" $NetBSD: tsearch.3,v 1.3 2002/02/07 07:00:30 ross Exp $ +.\" $NetBSD: tsearch.3,v 1.4 2002/10/01 17:29:24 wiz Exp $ .\" Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. .\" @@ -50,7 +50,8 @@ The and .Fn twalk functions manage binary search trees based on algorithms T and D -from Knuth (6.2.2). The comparison function passed in by +from Knuth (6.2.2). +The comparison function passed in by the user has the same style of return values as .Xr strcmp 3 . .Pp @@ -67,7 +68,8 @@ is identical to .Fn tfind except that if no match is found, .Fa key -is inserted into the tree and a pointer to it is returned. If +is inserted into the tree and a pointer to it is returned. +If .Fa rootp points to a NULL value a new binary search tree is created. .Pp |
