Sort errors.

This commit is contained in:
wiz 2012-04-13 16:32:15 +00:00
parent 3b2f9a6361
commit 2306ff07c8
1 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: getpriority.2,v 1.19 2012/04/13 15:14:27 yamt Exp $
.\" $NetBSD: getpriority.2,v 1.20 2012/04/13 16:32:15 wiz Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -116,12 +116,6 @@ and
.Fn setpriority
will fail if:
.Bl -tag -width Er
.It Bq Er ESRCH
No process was located using the
.Fa which
and
.Fa who
values specified.
.It Bq Er EINVAL
.Fa which
was not one of
@ -129,17 +123,23 @@ was not one of
.Dv PRIO_PGRP ,
or
.Dv PRIO_USER .
.It Bq Er ESRCH
No process was located using the
.Fa which
and
.Fa who
values specified.
.El
.Pp
In addition to the errors indicated above,
.Fn setpriority
will fail if:
.Bl -tag -width Er
.It Bq Er EACCES
A non super-user attempted to lower a process priority value.
.It Bq Er EPERM
A process was located, but neither its effective nor real user
ID matched the effective user ID of the caller.
.It Bq Er EACCES
A non super-user attempted to lower a process priority value.
.El
.Sh SEE ALSO
.Xr nice 1 ,