Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/sys Sort errors.



details:   https://anonhg.NetBSD.org/src/rev/d41aaf9ea0d7
branches:  trunk
changeset: 778798:d41aaf9ea0d7
user:      wiz <wiz%NetBSD.org@localhost>
date:      Fri Apr 13 16:32:15 2012 +0000

description:
Sort errors.

diffstat:

 lib/libc/sys/getpriority.2 |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (48 lines):

diff -r 8320abe556a4 -r d41aaf9ea0d7 lib/libc/sys/getpriority.2
--- a/lib/libc/sys/getpriority.2        Fri Apr 13 15:38:04 2012 +0000
+++ b/lib/libc/sys/getpriority.2        Fri Apr 13 16:32:15 2012 +0000
@@ -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 @@
 .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 @@
 .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 ,



Home | Main Index | Thread Index | Old Index