Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man3 Sync queue man pages with queue.h.
details: https://anonhg.NetBSD.org/src/rev/5817c66a1c3d
branches: trunk
changeset: 791640:5817c66a1c3d
user: christos <christos%NetBSD.org@localhost>
date: Wed Nov 27 16:23:00 2013 +0000
description:
Sync queue man pages with queue.h.
diffstat:
share/man/man3/Makefile | 112 +++--
share/man/man3/queue.3 | 799 +++++++++++++++++++++++++----------------------
2 files changed, 497 insertions(+), 414 deletions(-)
diffs (truncated from 1147 to 300 lines):
diff -r 9c9203801709 -r 5817c66a1c3d share/man/man3/Makefile
--- a/share/man/man3/Makefile Wed Nov 27 14:21:31 2013 +0000
+++ b/share/man/man3/Makefile Wed Nov 27 16:23:00 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.84 2013/11/26 01:33:02 christos Exp $
+# $NetBSD: Makefile,v 1.85 2013/11/27 16:23:00 christos Exp $
# @(#)Makefile 8.2 (Berkeley) 12/13/93
MAN= _DIAGASSERT.3 __CONCAT.3 __UNCONST.3 __USE.3 CMSG_DATA.3 \
@@ -136,72 +136,92 @@
gcq.3 GCQ_FIND_REV.3 \
gcq.3 GCQ_FIND_TYPED.3 \
gcq.3 GCQ_FIND_REV_TYPED.3
-MLINKS+=queue.3 LIST_HEAD.3 \
+
+MLINKS+=queue.3 LIST.3 \
+ queue.3 LIST_ENTRY.3 \
+ queue.3 LIST_FIRST.3 \
+ queue.3 LIST_FOREACH.3 \
+ queue.3 LIST_HEAD.3 \
queue.3 LIST_HEAD_INITIALIZER.3 \
- queue.3 LIST_ENTRY.3 \
queue.3 LIST_INIT.3 \
queue.3 LIST_INSERT_AFTER.3 \
queue.3 LIST_INSERT_BEFORE.3 \
queue.3 LIST_INSERT_HEAD.3 \
+ queue.3 LIST_NEXT.3 \
queue.3 LIST_REMOVE.3 \
- queue.3 LIST_FOREACH.3 \
- queue.3 LIST_EMPTY.3 \
- queue.3 LIST_FIRST.3 \
- queue.3 LIST_NEXT.3
-MLINKS+=queue.3 SLIST_HEAD.3 \
+ queue.3 LIST_REPLACE.3
+
+MLINKS+=queue.3 SIMPLEQ.3 \
+ queue.3 SIMPLEQ_CONCAT.3 \
+ queue.3 SIMPLEQ_EMPTY.3 \
+ queue.3 SIMPLEQ_ENTRY.3 \
+ queue.3 SIMPLEQ_FIRST.3 \
+ queue.3 SIMPLEQ_FOREACH.3 \
+ queue.3 SIMPLEQ_HEAD.3 \
+ queue.3 SIMPLEQ_HEAD_INITIALIZER.3 \
+ queue.3 SIMPLEQ_INIT.3 \
+ queue.3 SIMPLEQ_INSERT_AFTER.3 \
+ queue.3 SIMPLEQ_INSERT_HEAD.3 \
+ queue.3 SIMPLEQ_INSERT_TAIL.3 \
+ queue.3 SIMPLEQ_LAST.3 \
+ queue.3 SIMPLEQ_NEXT.3 \
+ queue.3 SIMPLEQ_REMOVE.3 \
+ queue.3 SIMPLEQ_REMOVE_AFTER.3 \
+ queue.3 SIMPLEQ_REMOVE_HEAD.3 \
+ queue.3 SIMPLQ_REMOVE.3
+
+MLINKS+=queue.3 SLIST.3 \
+ queue.3 SLIST_EMPTY.3 \
+ queue.3 SLIST_ENTRY.3 \
+ queue.3 SLIST_FIRST.3 \
+ queue.3 SLIST_FOREACH.3 \
+ queue.3 SLIST_HEAD.3 \
queue.3 SLIST_HEAD_INITIALIZER.3 \
- queue.3 SLIST_ENTRY.3 \
queue.3 SLIST_INIT.3 \
queue.3 SLIST_INSERT_AFTER.3 \
queue.3 SLIST_INSERT_HEAD.3 \
- queue.3 SLIST_REMOVE_HEAD.3 \
+ queue.3 SLIST_NEXT.3 \
queue.3 SLIST_REMOVE.3 \
- queue.3 SLIST_FOREACH.3 \
- queue.3 SLIST_EMPTY.3 \
- queue.3 SLIST_FIRST.3 \
- queue.3 SLIST_NEXT.3
-MLINKS+=queue.3 STAILQ_HEAD.3 \
+ queue.3 SLIST_REMOVE_AFTER.3 \
+ queue.3 SLIST_REMOVE_HEAD.3
+
+MLINKS+=queue.3 STAILQ.3 \
+ queue.3 STAILQ_CONCAT.3 \
+ queue.3 STAILQ_EMPTY.3 \
+ queue.3 STAILQ_ENTRY.3 \
+ queue.3 STAILQ_FIRST.3 \
+ queue.3 STAILQ_FOREACH.3 \
+ queue.3 STAILQ_FOREACH_SAFE.3 \
+ queue.3 STAILQ_HEAD.3 \
queue.3 STAILQ_HEAD_INITIALIZER.3 \
- queue.3 STAILQ_ENTRY.3 \
queue.3 STAILQ_INIT.3 \
+ queue.3 STAILQ_INSERT_AFTER.3 \
queue.3 STAILQ_INSERT_HEAD.3 \
queue.3 STAILQ_INSERT_TAIL.3 \
- queue.3 STAILQ_INSERT_AFTER.3 \
- queue.3 STAILQ_REMOVE_HEAD.3 \
+ queue.3 STAILQ_LAST.3 \
+ queue.3 STAILQ_NEXT.3 \
queue.3 STAILQ_REMOVE.3 \
- queue.3 STAILQ_FOREACH.3 \
- queue.3 STAILQ_EMPTY.3 \
- queue.3 STAILQ_FIRST.3 \
- queue.3 STAILQ_NEXT.3
-MLINKS+=queue.3 SIMPLEQ_HEAD.3 \
- queue.3 SIMPLEQ_HEAD_INITIALIZER.3 \
- queue.3 SIMPLEQ_ENTRY.3 \
- queue.3 SIMPLEQ_INIT.3 \
- queue.3 SIMPLEQ_INSERT_HEAD.3 \
- queue.3 SIMPLEQ_INSERT_TAIL.3 \
- queue.3 SIMPLEQ_INSERT_AFTER.3 \
- queue.3 SIMPLEQ_REMOVE_HEAD.3 \
- queue.3 SIMPLEQ_REMOVE.3 \
- queue.3 SIMPLEQ_FOREACH.3 \
- queue.3 SIMPLEQ_EMPTY.3 \
- queue.3 SIMPLEQ_FIRST.3 \
- queue.3 SIMPLEQ_NEXT.3
-MLINKS+=queue.3 TAILQ_HEAD.3 \
+ queue.3 STAILQ_REMOVE_HEAD.3
+
+MLINKS+=queue.3 TAILQ.3 \
+ queue.3 TAILQ_CONCAT.3 \
+ queue.3 TAILQ_EMPTY.3 \
+ queue.3 TAILQ_ENTRY.3 \
+ queue.3 TAILQ_FIRST.3 \
+ queue.3 TAILQ_FOREACH_REVERSE_SAFE.3 \
+ queue.3 TAILQ_HEAD.3 \
queue.3 TAILQ_HEAD_INITIALIZER.3 \
- queue.3 TAILQ_ENTRY.3 \
queue.3 TAILQ_INIT.3 \
+ queue.3 TAILQ_INSERT_AFTER.3 \
+ queue.3 TAILQ_INSERT_BEFORE.3 \
queue.3 TAILQ_INSERT_HEAD.3 \
queue.3 TAILQ_INSERT_TAIL.3 \
- queue.3 TAILQ_INSERT_AFTER.3 \
- queue.3 TAILQ_INSERT_BEFORE.3 \
+ queue.3 TAILQ_LAST.3 \
+ queue.3 TAILQ_NEXT.3 \
+ queue.3 TAILQ_PREV.3 \
queue.3 TAILQ_REMOVE.3 \
- queue.3 TAILQ_FOREACH.3 \
- queue.3 TAILQ_FOREACH_REVERSE.3 \
- queue.3 TAILQ_EMPTY.3 \
- queue.3 TAILQ_FIRST.3 \
- queue.3 TAILQ_NEXT.3 \
- queue.3 TAILQ_LAST.3 \
- queue.3 TAILQ_PREV.3
+ queue.3 TAILQ_REPLACE.3
+
MLINKS+=rbtree.3 rb_tree_init.3 \
rbtree.3 rb_tree_insert_node.3 \
rbtree.3 rb_tree_find_node.3 \
diff -r 9c9203801709 -r 5817c66a1c3d share/man/man3/queue.3
--- a/share/man/man3/queue.3 Wed Nov 27 14:21:31 2013 +0000
+++ b/share/man/man3/queue.3 Wed Nov 27 16:23:00 2013 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: queue.3,v 1.45 2013/11/23 17:40:43 wiz Exp $
+.\" $NetBSD: queue.3,v 1.46 2013/11/27 16:23:00 christos Exp $
.\"
.\" Copyright (c) 2000, 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -53,180 +53,155 @@
.\"
.\" @(#)queue.3 8.1 (Berkeley) 12/13/93
.\"
-.Dd November 23, 2013
+.Dd November 27, 2013
.Dt QUEUE 3
.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ST_HEAD_INITIALIZER ,
-.Nm LIST_ENTRY ,
-.Nm LIST_INIT ,
-.Nm LIST_INSERT_AFTER ,
-.Nm LIST_INSERT_BEFORE ,
-.Nm LIST_INSERT_HEAD ,
-.Nm LIST_REMOVE ,
-.Nm LIST_FOREACH ,
-.Nm LIST_EMPTY ,
-.Nm LIST_FIRST ,
-.Nm LIST_NEXT ,
-.Nm TAILQ_HEAD ,
-.Nm TAILQ_HEAD_INITIALIZER ,
-.Nm TAILQ_ENTRY ,
-.Nm TAILQ_INIT ,
-.Nm TAILQ_INSERT_HEAD ,
-.Nm TAILQ_INSERT_TAIL ,
-.Nm TAILQ_INSERT_AFTER ,
-.Nm TAILQ_INSERT_BEFORE ,
-.Nm TAILQ_REMOVE ,
-.Nm TAILQ_FOREACH ,
-.Nm TAILQ_FOREACH_SAFE ,
-.Nm TAILQ_FOREACH_REVERSE ,
-.Nm TAILQ_FOREACH_REVERSE_SAFE ,
-.Nm TAILQ_EMPTY ,
-.Nm TAILQ_FIRST ,
-.Nm TAILQ_NEXT ,
-.Nm TAILQ_LAST ,
-.Nm TAILQ_PREV ,
-.Nm TAILQ_CONCAT ,
-.Nd "implementations of singly-linked lists, simple queues, lists, and tail queues
+.Nd "implementations of singly-linked lists, lists, simple queues, tail queues, and singly-linked tail queues.
.Sh SYNOPSIS
.In sys/queue.h
.Pp
Home |
Main Index |
Thread Index |
Old Index