X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=blobdiff_plain;f=original%2Fman2%2Fsched_setparam.2;h=6ab0ef18fad3a99300963f690e55fdbf6b5d6c33;hp=13f3797bc60321592b0bebd5c176cc1d6d3bb872;hb=4ea6bb24817f6f049d6bbc90ecd77a869876f9b0;hpb=361fd72f831aabd8a0aa6fe7bc4ef66ef4f89a1b diff --git a/original/man2/sched_setparam.2 b/original/man2/sched_setparam.2 index 13f3797b..6ab0ef18 100644 --- a/original/man2/sched_setparam.2 +++ b/original/man2/sched_setparam.2 @@ -27,7 +27,7 @@ .\" revision .\" Modified 2004-05-27 by Michael Kerrisk .\" -.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 @@ -55,7 +55,7 @@ the argument \fIparam\fP depends on the scheduling 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 () @@ -75,7 +75,7 @@ and 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 () @@ -96,10 +96,19 @@ is set appropriately. .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 @@ -114,7 +123,7 @@ POSIX.1-2001. Scheduling parameters are in fact per-thread attributes on Linux; see -.BR sched_setscheduler (2). +.BR sched (7). .SH SEE ALSO .ad l .nh @@ -126,16 +135,16 @@ see .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.65 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/.