Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man3 Add a note that rb(3) is preferred for new code.
details: https://anonhg.NetBSD.org/src/rev/990210246d99
branches: trunk
changeset: 754593:990210246d99
user: jruoho <jruoho%NetBSD.org@localhost>
date: Wed May 05 06:24:43 2010 +0000
description:
Add a note that rb(3) is preferred for new code.
diffstat:
share/man/man3/tree.3 | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 6d089c743dd7 -r 990210246d99 share/man/man3/tree.3
--- a/share/man/man3/tree.3 Wed May 05 06:19:15 2010 +0000
+++ b/share/man/man3/tree.3 Wed May 05 06:24:43 2010 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: tree.3,v 1.5 2009/02/14 22:07:04 dholland Exp $
+.\" $NetBSD: tree.3,v 1.6 2010/05/05 06:24:43 jruoho Exp $
.\" $OpenBSD: tree.3,v 1.9 2003/05/20 09:13:38 jmc Exp $
.\"/*
.\" * Copyright 2002 Niels Provos <provos%citi.umich.edu@localhost>
@@ -29,7 +29,7 @@
.\" * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\" */
-.Dd February 14, 2009
+.Dd May 5, 2010
.Dt TREE 3
.Os
.Sh NAME
@@ -131,6 +131,12 @@
.Ft "struct TYPE *"
.Fn RB_REMOVE "NAME" "RB_HEAD *head" "struct TYPE *elm"
.Sh DESCRIPTION
+.Bf -symbolic
+This is a legacy interface; for new code,
+.Xr rb 3
+is preferred.
+.Ef
+.Pp
These macros define data structures for different types of trees:
splay trees and red-black trees.
.Pp
Home |
Main Index |
Thread Index |
Old Index