* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
* %sccs.include.redist.c%
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid
[] = "@(#)nice.c 8.1 (Berkeley) %G%";
#endif /* LIBC_SCCS and not lint */
#include <sys/resource.h>
* Backwards compatible nice.
prio
= getpriority(PRIO_PROCESS
, 0);
return (setpriority(PRIO_PROCESS
, 0, prio
+ incr
));