Home
Search all pages
Subjects
By activity
Professions, Sciences, Humanities, Business, ...
User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Text Strings
Conversions, tests, processing, manipulation,...
Math
Integer, Floating point, Matrix, Statistics, Boolean, ...
Processing
Algorithms, Memory, Process control, Debugging, ...
Stored Data
Data storage, Integrity, Encryption, Compression, ...
Communications
Networks, protocols, Interprocess, Remote, Client Server, ...
Hard World Timing, Calendar and Clock, Audio, Video, Printer, Controls...
File System
Management, Filtering, File & Directory access, Viewers, ...
|
|
|
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
Others
NICE(3) OpenBSD Programmer's Manual NICE(3)
NAME
nice - set program scheduling priority
SYNOPSIS
#include <nlist.h>
int
nice(int incr);
DESCRIPTION
This interface is obsoleted by setpriority(2).
The nice() function obtains the scheduling priority of the process from
the system and sets it to the priority value specified in incr. The pri-
ority is a value in the range -20 to 20. The default priority is 0; low-
er priorities cause more favorable scheduling. Only the super-user may
lower priorities.
Children inherit the priority of their parent processes via fork(2).
RETURN VALUES
nice() returns the same values as setpriority(2).
SEE ALSO
nice(1), fork(2), setpriority(2), renice(8)
HISTORY
A nice() syscall appeared in Version 6 AT&T UNIX.
OpenBSD 2.6 June 4, 1993 1
Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts Institute of Technology, Free Software Foundation, FreeBSD Inc., and others. |
(Corrections, notes, and links courtesy of RocketAware.com)
FreeBSD Sources for nice(3) functions OpenBSD sources for nice(3)
Up to: Process Limits: Resources - Process Limits on resource usage (disk, CPU, memory, et al)
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
Others
Rapid-Links:
Search | About | Comments | Submit Path: RocketAware > man pages >
nice.3/
RocketAware.com is a service of Mib Software Copyright 1999, Forrest J. Cavalier III. All Rights Reserved. We welcome submissions and comments
|