diff options
| author | wiz <wiz@NetBSD.org> | 2004-05-13 10:20:57 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2004-05-13 10:20:57 +0000 |
| commit | 64ebeb5cbc1f84c8d9474e44f49358cf42294057 (patch) | |
| tree | 2da00131cfb1988afb5dc35d5fa87c2a841a8469 /lib/libc/sys/getpriority.2 | |
| parent | 339084de19c02320a139a13058526e148e4174a6 (diff) | |
\- is a minus, not -.
Diffstat (limited to 'lib/libc/sys/getpriority.2')
| -rw-r--r-- | lib/libc/sys/getpriority.2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/sys/getpriority.2 b/lib/libc/sys/getpriority.2 index a79984be81c..997c1bb41e5 100644 --- a/lib/libc/sys/getpriority.2 +++ b/lib/libc/sys/getpriority.2 @@ -1,4 +1,4 @@ -.\" $NetBSD: getpriority.2,v 1.16 2004/04/25 22:18:08 kleink Exp $ +.\" $NetBSD: getpriority.2,v 1.17 2004/05/13 10:20:58 wiz Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -94,16 +94,16 @@ Only the super-user may lower priorities. .Sh RETURN VALUES Since .Fn getpriority -can legitimately return the value -1, it is necessary +can legitimately return the value \-1, it is necessary to clear the external variable .Va errno prior to the call, then check it afterward to determine -if a -1 is an error or a legitimate value. +if a \-1 is an error or a legitimate value. The .Fn setpriority call returns 0 if there is no error, or --1 if there is. +\-1 if there is. .Sh ERRORS .Fn getpriority and |
