summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ,