sched_setscheduler.2: ERRORS: separate out EINVAL cases

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-13 09:02:43 +02:00
parent 94417494b3
commit b61826c0e7
1 changed files with 13 additions and 4 deletions

View File

@ -145,11 +145,20 @@ is set appropriately.
.SH ERRORS
.TP
.B EINVAL
The scheduling \fIpolicy\fP is not one of the recognized policies,
Invalid arguments:
.I pid
is negative,
\fIparam\fP is NULL,
or \fIparam\fP does not make sense for the \fIpolicy\fP.
is negative or
.I param
is NULL.
.TP
.B EINVAL
.I policy
is not one of the recognized policies.
.TP
.B EINVAL
.I param
does not make sense for the specified
.IR policy .
.TP
.B EPERM
The calling thread does not have appropriate privileges.