xref: /386bsd/usr/share/man/cat3/nice.0 (revision a2142627)
1NICE(3)                   386BSD Programmer's Manual                   NICE(3)
2
3NNAAMMEE
4     nniiccee - set program scheduling priority
5
6SSYYNNOOPPSSIISS
7     nniiccee(_i_n_t _i_n_c_r)
8
9DDEESSCCRRIIPPTTIIOONN
10     TThhiiss iinntteerrffaaccee iiss oobbssoolleetteedd bbyy sseettpprriioorriittyy((22))..
11
12     The nniiccee() function obtains the scheduling priority of the process from
13     the system and sets it to the priority value specified in _i_n_c_r. The
14     priority is a value in the range -20 to 20.  The default priority is 0;
15     lower priorities cause more favorable scheduling.  Only the super-user
16     may lower priorities.
17
18     Children inherit the priority of their parent processes via fork(2).
19
20SSEEEE AALLSSOO
21     nice(1),  setpriority(2),  fork(2),  renice(8)
22
23HHIISSTTOORRYY
24     A nniiccee() syscall appeared in Version 6 AT&T UNIX.
25
264th Berkeley Distribution       April 19, 1991                               1
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67