summaryrefslogtreecommitdiff
path: root/lib/libpthread
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2022-03-31 17:27:33 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2022-03-31 17:27:33 +0000
commit58a6bdb2eecf165eb39e1ff5a8082c4bd6ec1211 (patch)
treec631dd0d4ac59c3286cbf5b06d00e840263d40da /lib/libpthread
parenta7df80ab7071480723f6f681dc3bbfcda8caffb5 (diff)
man pages: add missing commas between subordinate and main clauses
jmc@ dislikes a comma before "then" in a conditional, so leave those untouched. ok jmc@
Diffstat (limited to 'lib/libpthread')
-rw-r--r--lib/libpthread/man/pthread_attr_setguardsize.36
-rw-r--r--lib/libpthread/man/pthread_barrier_init.36
-rw-r--r--lib/libpthread/man/pthread_cond_init.36
3 files changed, 9 insertions, 9 deletions
diff --git a/lib/libpthread/man/pthread_attr_setguardsize.3 b/lib/libpthread/man/pthread_attr_setguardsize.3
index e8a7b54f2f6..021971170b8 100644
--- a/lib/libpthread/man/pthread_attr_setguardsize.3
+++ b/lib/libpthread/man/pthread_attr_setguardsize.3
@@ -1,9 +1,9 @@
-.\" $OpenBSD: pthread_attr_setguardsize.3,v 1.2 2013/06/05 03:44:50 tedu Exp $
+.\" $OpenBSD: pthread_attr_setguardsize.3,v 1.3 2022/03/31 17:27:17 naddy Exp $
.\" Manual page derived from TOG's XPG6 documentation.
.\"
.\" David Leonard, 2000. Public Domain.
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: March 31 2022 $
.Dt PTHREAD_ATTR_SETGUARDSIZE 3
.Os
.Sh NAME
@@ -50,7 +50,7 @@ attribute provides protection against overflow of the stack pointer.
If a thread's stack is created with guard protection,
the implementation allocates extra memory at the overflow end of
the stack as a buffer against stack overflow of the stack pointer.
-If an application overflows into this buffer an error shall result
+If an application overflows into this buffer, an error shall result
(possibly in a SIGSEGV signal being delivered to the thread).
.Sh RETURN VALUES
Upon successful completion,
diff --git a/lib/libpthread/man/pthread_barrier_init.3 b/lib/libpthread/man/pthread_barrier_init.3
index 23e13eb8716..3b400ad3831 100644
--- a/lib/libpthread/man/pthread_barrier_init.3
+++ b/lib/libpthread/man/pthread_barrier_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_barrier_init.3,v 1.4 2020/04/06 00:01:08 pirofti Exp $
+.\" $OpenBSD: pthread_barrier_init.3,v 1.5 2022/03/31 17:27:17 naddy Exp $
.\"
.\" Copyright (c) 2012 Paul Irofti <paul@irofti.net>
.\"
@@ -15,7 +15,7 @@
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.\"
-.Dd $Mdocdate: April 6 2020 $
+.Dd $Mdocdate: March 31 2022 $
.Dt PTHREAD_BARRIER_INIT 3
.Os
.Sh NAME
@@ -38,7 +38,7 @@ and with a threshold specified with
If
.Fa attr
is
-.Dv NULL
+.Dv NULL ,
the default attributes are used.
The
.Fa count
diff --git a/lib/libpthread/man/pthread_cond_init.3 b/lib/libpthread/man/pthread_cond_init.3
index 3a162cb726f..662d37d13e8 100644
--- a/lib/libpthread/man/pthread_cond_init.3
+++ b/lib/libpthread/man/pthread_cond_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_cond_init.3,v 1.11 2013/06/05 03:44:50 tedu Exp $
+.\" $OpenBSD: pthread_cond_init.3,v 1.12 2022/03/31 17:27:17 naddy Exp $
.\"
.\" Copyright (c) 1997 Brian Cully <shmit@kublai.com>
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" $FreeBSD: pthread_cond_init.3,v 1.6 1999/08/28 00:03:03 peter Exp $
.\"
-.Dd $Mdocdate: June 5 2013 $
+.Dd $Mdocdate: March 31 2022 $
.Dt PTHREAD_COND_INIT 3
.Os
.Sh NAME
@@ -47,7 +47,7 @@ function creates a new condition variable, with attributes specified with
If
.Fa attr
is
-.Dv NULL
+.Dv NULL ,
the default attributes are used.
.Sh RETURN VALUES
If successful, the