.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH PTHREAD_SETNAME_NP 3 2013-06-21 "Linux" "Linux Programmer's Manual"
+.TH PTHREAD_SETNAME_NP 3 2014-05-28 "Linux" "Linux Programmer's Manual"
.SH NAME
pthread_setname_np, pthread_getname_np \- set/get the name of a thread
.SH SYNOPSIS
.B #include <pthread.h>
.BI "int pthread_setname_np(pthread_t " thread ", const char *" name ");
.BI "int pthread_getname_np(pthread_t " thread ,
-.BI " const char *" name ", size_t " len );
+.BI " char *" name ", size_t " len );
.fi
.sp
Compile and link with \fI\-pthread\fP.
These functions are nonstandard GNU extensions.
.SH NOTES
.BR pthread_setname_np ()
-internally writes to the thread specific comm file under
+internally writes to the thread-specific
+.I comm
+file under the
.IR /proc
filesystem:
.IR /proc/self/task/[tid]/comm .
.BR prctl (2),
.BR pthread_create (3),
.BR pthreads (7)
+.SH COLOPHON
+This page is part of release 3.68 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.