.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH PTHREAD_ATTR_SETSCOPE 3 2013-04-19 "Linux" "Linux Programmer's Manual"
+.TH PTHREAD_ATTR_SETSCOPE 3 2014-05-28 "Linux" "Linux Programmer's Manual"
.SH NAME
pthread_attr_setscope, pthread_attr_getscope \- set/get contention scope
attribute in thread attributes object
.BI "int pthread_attr_setscope(pthread_attr_t *" attr \
", int " scope );
-.BI "int pthread_attr_getscope(pthread_attr_t *" attr \
+.BI "int pthread_attr_getscope(const pthread_attr_t *" attr \
", int *" scope );
.sp
Compile and link with \fI\-pthread\fP.
specified the value
.BR PTHREAD_SCOPE_PROCESS ,
which is not supported on Linux.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR pthread_attr_setscope ()
+and
+.BR pthread_attr_getscope ()
+functions are thread-safe.
.SH CONFORMING TO
POSIX.1-2001.
.SH NOTES
.BR pthread_attr_setschedpolicy (3),
.BR pthread_create (3),
.BR pthreads (7)
+.SH COLOPHON
+This page is part of release 3.79 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/.