.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH PTHREAD_SETSCHEDPRIO 3 2014-05-19 "Linux" "Linux Programmer's Manual"
+.TH PTHREAD_SETSCHEDPRIO 3 2015-08-08 "Linux" "Linux Programmer's Manual"
.SH NAME
pthread_setschedprio \- set scheduling priority of a thread
.SH SYNOPSIS
.nf
.B #include <pthread.h>
-
-.BI "pthread_setschedprio(pthread_t " thread ", int " prio );
-.sp
+.PP
+.BI "int pthread_setschedprio(pthread_t " thread ", int " prio );
+.PP
Compile and link with \fI\-pthread\fP.
.fi
.SH DESCRIPTION
.I thread
could be found.
.PP
-POSIX.1-2001 also documents an
+POSIX.1 also documents an
.B ENOTSUP
("attempt was made to set the priority
to an unsupported value") error for
.SH VERSIONS
This function is available in glibc since version 2.3.4.
.SH ATTRIBUTES
-.SS Multithreading (see pthreads(7))
-The
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw22 lb lb
+l l l.
+Interface Attribute Value
+T{
.BR pthread_setschedprio ()
-function is thread-safe.
+T} Thread safety MT-Safe
+.TE
.SH CONFORMING TO
-POSIX.1-2001.
+POSIX.1-2001, POSIX.1-2008.
.SH NOTES
For a description of the permissions required to, and the effect of,
changing a thread's scheduling priority,