Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/man/man3 Fix some grammar and punctuation issues. Rem...
details: https://anonhg.NetBSD.org/src/rev/29e368d9ba2b
branches: trunk
changeset: 334727:29e368d9ba2b
user: snj <snj%NetBSD.org@localhost>
date: Wed Dec 03 20:36:33 2014 +0000
description:
Fix some grammar and punctuation issues. Remove a pasto.
diffstat:
share/man/man3/queue.3 | 20 +++++++++-----------
1 files changed, 9 insertions(+), 11 deletions(-)
diffs (90 lines):
diff -r 21cb7280061e -r 29e368d9ba2b share/man/man3/queue.3
--- a/share/man/man3/queue.3 Wed Dec 03 18:33:02 2014 +0000
+++ b/share/man/man3/queue.3 Wed Dec 03 20:36:33 2014 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: queue.3,v 1.49 2014/05/18 15:45:08 wiz Exp $
+.\" $NetBSD: queue.3,v 1.50 2014/12/03 20:36:33 snj Exp $
.\"
.\" Copyright (c) 2000, 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -368,7 +368,7 @@
.Li SIMPLEQ_HEAD ,
.Li SLIST_HEAD ,
or
-.Li TAILQ_HEAD ,
+.Li TAILQ_HEAD .
See the examples below for further explanation of how these
macros are used.
.Ss Summary of Operations
@@ -452,8 +452,6 @@
returns the first element in the list or NULL if the list is empty.
.Pp
The macro
-.Pp
-The macro
.Nm SLIST_EMPTY
evaluates to true if there are no elements in the list.
.Pp
@@ -507,7 +505,7 @@
.Nm SLIST_REMOVE
macro.
.Pp
-The macros
+The macro
.Nm SLIST_REMOVE_AFTER
removes the element after the one specified.
For optimum efficiency,
@@ -603,7 +601,7 @@
.Pp
The macro
.Nm LIST_EMPTY
-return true if the list
+returns true if the list
.Fa head
has no elements.
.Pp
@@ -755,7 +753,7 @@
.Pp
The macro
.Nm SIMPLEQ_EMPTY
-return true if the simple queue
+returns true if the simple queue
.Fa head
has no elements.
.Pp
@@ -837,7 +835,7 @@
concatenates the tail queue headed by
.Fa head2
onto the end of the one headed by
-.Fa head1
+.Fa head1 ,
removing all entries from the former.
.Sh SIMPLE QUEUE EXAMPLE
.Bd -literal
@@ -941,7 +939,7 @@
.Pp
The macro
.Nm TAILQ_EMPTY
-return true if the tail queue
+returns true if the tail queue
.Fa head
has no elements.
.Pp
@@ -1001,7 +999,7 @@
.Pp
The macro
.Nm TAILQ_REPLACE
-replace the element
+replaces the element
.Fa elm
with the
.Fa new
@@ -1012,7 +1010,7 @@
concatenates the tail queue headed by
.Fa head2
onto the end of the one headed by
-.Fa head1
+.Fa head1 ,
removing all entries from the former.
.Sh TAIL QUEUE EXAMPLE
.Bd -literal
Home |
Main Index |
Thread Index |
Old Index