Module Name: src Committed By: wiz Date: Fri Apr 13 16:32:16 UTC 2012
Modified Files: src/lib/libc/sys: getpriority.2 Log Message: Sort errors. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/lib/libc/sys/getpriority.2 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/getpriority.2 diff -u src/lib/libc/sys/getpriority.2:1.19 src/lib/libc/sys/getpriority.2:1.20 --- src/lib/libc/sys/getpriority.2:1.19 Fri Apr 13 15:14:27 2012 +++ src/lib/libc/sys/getpriority.2 Fri Apr 13 16:32:15 2012 @@ -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 ,