source: trunk/doc/nonstd @ 8769

Revision 8769, 494 bytes checked in by ghudson, 28 years ago (diff)
First cut at source tree documentation.
Line 
1This file describes operations not covered by the ANSI C or POSIX
2specifications.
3
4        Setting the process priority
5
6Setting the process priority
7----------------------------
8You should use the function nice() to change the process priority
9relative to its current value.  Avoid using setpriority() and
10getpriority().
11
12To set the current process priority to 0, use "nice(-nice(0))", since
13nice(0) will return the current process priority.  (Obviously, you can
14only do this with root permissions.)
Note: See TracBrowser for help on using the repository browser.