aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorEric van Gyzen <vangyzen@FreeBSD.org>2016-12-03 01:14:21 +0000
committerEric van Gyzen <vangyzen@FreeBSD.org>2016-12-03 01:14:21 +0000
commitff07dd913e2788f22cf2999f42b8a2d3bc7da220 (patch)
treed20ada1d7b19b1e36a9410d7353f063307500d11 /share
parent86bd08e9ee24812240e144fba570f88d31dd0b97 (diff)
Notes
Diffstat (limited to 'share')
-rw-r--r--share/man/man3/pthread_set_name_np.313
1 files changed, 7 insertions, 6 deletions
diff --git a/share/man/man3/pthread_set_name_np.3 b/share/man/man3/pthread_set_name_np.3
index e3029398bb01..c8e5cb4f62c0 100644
--- a/share/man/man3/pthread_set_name_np.3
+++ b/share/man/man3/pthread_set_name_np.3
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 13, 2003
+.Dd December 2, 2016
.Dt PTHREAD_SET_NAME_NP 3
.Os
.Sh NAME
@@ -35,18 +35,19 @@
.Sh SYNOPSIS
.In pthread_np.h
.Ft void
-.Fn pthread_set_name_np "pthread_t tid" "const char *name"
+.Fn pthread_set_name_np "pthread_t thread" "const char *name"
.Sh DESCRIPTION
The
.Fn pthread_set_name_np
-function sets internal name for thread specified by
-.Fa tid
-argument to string value specified by
+function applies a copy of the given
.Fa name
-argument.
+to the given
+.Fa thread .
.Sh ERRORS
Because of the debugging nature of this function, all errors that may
appear inside are silently ignored.
+.Sh SEE ALSO
+.Xr thr_set_name 2
.Sh AUTHORS
This manual page was written by
.An Alexey Zelkin Aq Mt phantom@FreeBSD.org .