mirror of https://github.com/mkerrisk/man-pages
getpriority.2: Improve description of setpriority() return value
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
2be50a325d
commit
a6bdf7ee8d
|
@ -126,10 +126,12 @@ to clear the external variable
|
|||
prior to the
|
||||
call, then check it afterward to determine
|
||||
if \-1 is an error or a legitimate value.
|
||||
The
|
||||
|
||||
.BR setpriority ()
|
||||
call returns 0 if there is no error, or
|
||||
\-1 if there is.
|
||||
returns 0 on success.
|
||||
On error, it returns \-1 and sets
|
||||
.I errno
|
||||
to indicate the cause of the error.
|
||||
.SH ERRORS
|
||||
.TP
|
||||
.B EINVAL
|
||||
|
|
Loading…
Reference in New Issue