summaryrefslogtreecommitdiff
path: root/lib/libpthread/man/pthread_set_name_np.3
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2019-02-04 18:06:33 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2019-02-04 18:06:33 +0000
commitbf9cb8879ae5cb0c24cc9db3fc44773ce661b5f9 (patch)
tree42636ab4f8a224a76e2305cfb507251438331e87 /lib/libpthread/man/pthread_set_name_np.3
parentaeb0a220386b0914103b36a733d470f75f88f23d (diff)
tweak previous;
Diffstat (limited to 'lib/libpthread/man/pthread_set_name_np.3')
-rw-r--r--lib/libpthread/man/pthread_set_name_np.311
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libpthread/man/pthread_set_name_np.3 b/lib/libpthread/man/pthread_set_name_np.3
index 5c797b05ac3..19b61258466 100644
--- a/lib/libpthread/man/pthread_set_name_np.3
+++ b/lib/libpthread/man/pthread_set_name_np.3
@@ -1,10 +1,11 @@
-.\" $OpenBSD: pthread_set_name_np.3,v 1.7 2019/02/04 17:18:08 tedu Exp $
+.\" $OpenBSD: pthread_set_name_np.3,v 1.8 2019/02/04 18:06:32 jmc Exp $
.\" David Leonard <d@openbsd.org>, 1999. Public domain.
.Dd $Mdocdate: February 4 2019 $
.Dt PTHREAD_SET_NAME_NP 3
.Os
.Sh NAME
-.Nm pthread_set_name_np
+.Nm pthread_set_name_np ,
+.Nm pthread_get_name_np
.Nd set the name of a thread
.Sh SYNOPSIS
.In pthread.h
@@ -28,6 +29,8 @@ signal.
The string pointed to by
.Fa name
is copied, and so need not be valid for the life of the thread.
+.Pp
+The
.Fn pthread_get_name_np
function retrieves
.Fa name
@@ -36,7 +39,5 @@ associated with
.Sh SEE ALSO
.Xr pthreads 3
.Sh STANDARDS
-The
-.Fn pthread_set_name_np
-function is non-portable and may not be supported with the above
+These functions are non-portable and may not be supported with the above
semantics on other POSIX systems.