summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-05-08 09:01:16 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-05-08 09:01:16 +0000
commitd237d59b81be2cc756d92e6f7062a5e9914d796b (patch)
tree0434c2f2637b3d27c40a51c722478c256045f1d0
parenta271ee9d356ed6f7dba6482d001fa1cbddadc126 (diff)
RETURN VALUE -> RETURN VALUES in .Sh, as per mdoc template.
also new sentence, new line.
-rw-r--r--lib/libpthread/man/pthread_attr_init.34
-rw-r--r--lib/libpthread/man/pthread_attr_setdetachstate.38
-rw-r--r--lib/libpthread/man/pthread_attr_setstackaddr.38
-rw-r--r--lib/libpthread/man/pthread_attr_setstacksize.38
4 files changed, 14 insertions, 14 deletions
diff --git a/lib/libpthread/man/pthread_attr_init.3 b/lib/libpthread/man/pthread_attr_init.3
index 347908e85ee..e40ce397211 100644
--- a/lib/libpthread/man/pthread_attr_init.3
+++ b/lib/libpthread/man/pthread_attr_init.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_attr_init.3,v 1.4 2003/02/20 18:59:12 jmc Exp $
+.\" $OpenBSD: pthread_attr_init.3,v 1.5 2003/05/08 09:01:15 jmc Exp $
.\" Manual page derived from TOG's UNIX98 documentation.
.\"
.\" David Leonard, 2000. Public Domain.
@@ -43,7 +43,7 @@ to an implementation-dependent
invalid value.
The behaviour of using the attribute after it has
been destroyed is undefined.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
Upon successful completion,
.Fn pthread_attr_init
and
diff --git a/lib/libpthread/man/pthread_attr_setdetachstate.3 b/lib/libpthread/man/pthread_attr_setdetachstate.3
index f3ec0011571..e04972117bd 100644
--- a/lib/libpthread/man/pthread_attr_setdetachstate.3
+++ b/lib/libpthread/man/pthread_attr_setdetachstate.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_attr_setdetachstate.3,v 1.5 2003/02/20 18:59:12 jmc Exp $
+.\" $OpenBSD: pthread_attr_setdetachstate.3,v 1.6 2003/05/08 09:01:15 jmc Exp $
.\" Manual page derived from TOG's UNIX98 documentation.
.\"
.\" David Leonard, 2000. Public Domain.
@@ -60,13 +60,13 @@ The default value of the
.Va detachstate
attribute is
.Dv PTHREAD_CREATE_JOINABLE .
-.Sh RETURN VALUE
+.Sh RETURN VALUES
Upon successful completion,
.Fn pthread_attr_setdetachstate
and
.Fn pthread_attr_getdetachstate
-return a value of 0. Otherwise, an
-error number is returned to indicate the error.
+return a value of 0.
+Otherwise, an error number is returned to indicate the error.
.Pp
The
.Fn pthread_attr_getdetachstate
diff --git a/lib/libpthread/man/pthread_attr_setstackaddr.3 b/lib/libpthread/man/pthread_attr_setstackaddr.3
index 8a179b48bfd..cc56bbb0bd5 100644
--- a/lib/libpthread/man/pthread_attr_setstackaddr.3
+++ b/lib/libpthread/man/pthread_attr_setstackaddr.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_attr_setstackaddr.3,v 1.5 2003/02/20 18:59:12 jmc Exp $
+.\" $OpenBSD: pthread_attr_setstackaddr.3,v 1.6 2003/05/08 09:01:15 jmc Exp $
.\" Manual page derived from TOG's UNIX98 documentation.
.\"
.\" David Leonard, 2000. Public Domain.
@@ -34,13 +34,13 @@ attribute specifies the location of storage to be
used for the created thread's stack.
The size of the storage is at least
.Dv PTHREAD_STACK_MIN .
-.Sh RETURN VALUE
+.Sh RETURN VALUES
Upon successful completion,
.Fn pthread_attr_setstackaddr
and
.Fn pthread_attr_getstackaddr
-return a value of 0. Otherwise, an error
-number is returned to indicate the error.
+return a value of 0.
+Otherwise, an error number is returned to indicate the error.
.Pp
The
.Fn pthread_attr_getstackaddr
diff --git a/lib/libpthread/man/pthread_attr_setstacksize.3 b/lib/libpthread/man/pthread_attr_setstacksize.3
index d96514dcf3a..b38ef3f769f 100644
--- a/lib/libpthread/man/pthread_attr_setstacksize.3
+++ b/lib/libpthread/man/pthread_attr_setstacksize.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_attr_setstacksize.3,v 1.4 2003/02/20 18:59:12 jmc Exp $
+.\" $OpenBSD: pthread_attr_setstacksize.3,v 1.5 2003/05/08 09:01:15 jmc Exp $
.\" Manual page derived from TOG's UNIX98 documentation.
.\"
.\" David Leonard, 2000. Public Domain.
@@ -32,13 +32,13 @@ The
.Va stacksize
attribute defines the minimum stack size (in bytes)
allocated for the created thread's stack.
-.Sh RETURN VALUE
+.Sh RETURN VALUES
Upon successful completion,
.Fn pthread_attr_setstacksize
and
.Fn pthread_attr_getstacksize
-return a value of 0. Otherwise, an error
-number is returned to indicate the error.
+return a value of 0.
+Otherwise, an error number is returned to indicate the error.
.Pp
The
.Fn pthread_attr_getstacksize