From 08a8655a569181a52290fa30929a49382b77618f Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 18 Feb 1998 23:26:16 +0000 Subject: clarify --- lib/libc/gen/nice.3 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lib/libc') 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 +.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 , -- cgit v1.2.3