summaryrefslogtreecommitdiff
path: root/lib/libc/gen/nice.3
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-02-18 23:26:16 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-02-18 23:26:16 +0000
commit08a8655a569181a52290fa30929a49382b77618f (patch)
tree75ca447349249871b719667eac0247638999f5f7 /lib/libc/gen/nice.3
parentd5b41d95e3889864a75859ac3afa497490da20d2 (diff)
clarify
Diffstat (limited to 'lib/libc/gen/nice.3')
-rw-r--r--lib/libc/gen/nice.38
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/libc/gen/nice.3 b/lib/libc/gen/nice.3
index a9e554c64ef..87093e1025c 100644
--- a/lib/libc/gen/nice.3
+++ b/lib/libc/gen/nice.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nice.3,v 1.2 1996/08/19 08:25:03 tholo Exp $
+.\" $OpenBSD: nice.3,v 1.3 1998/02/18 23:26:15 deraadt Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -38,6 +38,8 @@
.Nm nice
.Nd set program scheduling priority
.Sh SYNOPSIS
+.Fd #include <nlist.h>
+.Fd int
.Fn nice "int incr"
.Sh DESCRIPTION
.Bf -symbolic
@@ -55,6 +57,10 @@ Only the super-user may lower priorities.
.Pp
Children inherit the priority of their parent processes via
.Xr fork 2 .
+.Sh RETURN VALUES
+.Fn nice
+returns the same values as
+.Xr setpriority 2 .
.Sh SEE ALSO
.Xr nice 1 ,
.Xr setpriority 2 ,