summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man3/queue.36
-rw-r--r--share/man/man3/tree.36
2 files changed, 8 insertions, 4 deletions
diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3
index efaf2153161..467a95ebb74 100644
--- a/share/man/man3/queue.3
+++ b/share/man/man3/queue.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: queue.3,v 1.63 2015/11/19 13:38:07 millert Exp $
+.\" $OpenBSD: queue.3,v 1.64 2016/03/14 22:39:23 jmc Exp $
.\" $NetBSD: queue.3,v 1.4 1995/07/03 00:25:36 mycroft Exp $
.\"
.\" Copyright (c) 1993 The Regents of the University of California.
@@ -30,7 +30,7 @@
.\"
.\" @(#)queue.3 8.1 (Berkeley) 12/13/93
.\"
-.Dd $Mdocdate: November 19 2015 $
+.Dd $Mdocdate: March 14 2016 $
.Dt SLIST_INIT 3
.Os
.Sh NAME
@@ -918,6 +918,8 @@ while ((np = TAILQ_FIRST(&head))) {
}
.Ed
+.Sh SEE ALSO
+.Xr tree 3
.Sh NOTES
It is an error to assume the next and previous fields are preserved
after an element has been removed from a list or queue.
diff --git a/share/man/man3/tree.3 b/share/man/man3/tree.3
index 9771d152273..9d3c04c5e44 100644
--- a/share/man/man3/tree.3
+++ b/share/man/man3/tree.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tree.3,v 1.27 2015/11/10 23:48:17 jmc Exp $
+.\" $OpenBSD: tree.3,v 1.28 2016/03/14 22:39:23 jmc Exp $
.\"/*
.\" * Copyright 2002 Niels Provos <provos@citi.umich.edu>
.\" * All rights reserved.
@@ -23,7 +23,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 $Mdocdate: November 10 2015 $
+.Dd $Mdocdate: March 14 2016 $
.Dt SPLAY_INIT 3
.Os
.Sh NAME
@@ -549,6 +549,8 @@ main()
return (0);
}
.Ed
+.Sh SEE ALSO
+.Xr queue 3
.Sh NOTES
Trying to free a tree in the following way is a common error:
.Bd -literal -offset indent