* Copyright (c) 1983 The Regents of the University of California.
* %sccs.include.redist.c%
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid
[] = "@(#)nice.c 5.4 (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
));