.\" revision
.\" Modified 2004-05-27 by Michael Kerrisk <mtk.manpages@gmail.com>
.\"
-.TH SCHED_SETPARAM 2 2013-09-17 "Linux" "Linux Programmer's Manual"
+.TH SCHED_SETPARAM 2 2014-05-11 "Linux" "Linux Programmer's Manual"
.SH NAME
sched_setparam, sched_getparam \- set and get scheduling parameters
.SH SYNOPSIS
policy of the process identified by
.IR pid .
See
-.BR sched_setscheduler (2)
+.BR sched (7)
for a description of the scheduling policies supported under Linux.
.BR sched_getparam ()
For a discussion of the privileges and resource limits related to
scheduling priority and policy, see
-.BR sched_setscheduler (2).
+.BR sched (7).
POSIX systems on which
.BR sched_setparam ()
.SH ERRORS
.TP
.B EINVAL
+Invalid arguments:
+.I param
+is NULL or
+.I pid
+is negative
+.TP
+.B EINVAL
+.RB ( sched_setparam ())
The argument \fIparam\fP does not make sense for the current
scheduling policy.
.TP
.B EPERM
+.RB ( sched_setparam ())
The calling process does not have appropriate privileges
(Linux: does not have the
.B CAP_SYS_NICE
Scheduling parameters are in fact per-thread
attributes on Linux;
see
-.BR sched_setscheduler (2).
+.BR sched (7).
.SH SEE ALSO
.ad l
.nh
.BR sched_getscheduler (2),
.BR sched_setaffinity (2),
.BR sched_setscheduler (2),
+.BR sched_setattr (2),
.BR setpriority (2),
-.BR capabilities (7)
-.PP
-.I Programming for the real world \- POSIX.4
-by Bill O. Gallmeister, O'Reilly & Associates, Inc., ISBN 1-56592-074-0.
+.BR capabilities (7),
+.BR sched (7)
.SH COLOPHON
-This page is part of release 3.64 of the Linux
+This page is part of release 3.79 of the Linux
.I man-pages
project.
A description of the project,
-and information about reporting bugs,
+information about reporting bugs,
+and the latest version of this page,
can be found at
\%http://www.kernel.org/doc/man\-pages/.