source: trunk/minix/include/sys/resource.h@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 424 bytes
Line 
1#ifndef _SYS_RESOURCE_H
2#define _SYS_RESOURCE_H
3
4/* Priority range for the get/setpriority() interface.
5 * It isn't a mapping on the internal minix scheduling
6 * priority.
7 */
8#define PRIO_MIN -20
9#define PRIO_MAX 20
10
11/* Magic, invalid priority to stop the process. */
12#define PRIO_STOP 76
13
14#define PRIO_PROCESS 0
15#define PRIO_PGRP 1
16#define PRIO_USER 2
17
18int getpriority(int, int);
19int setpriority(int, int, int);
20
21#endif
Note: See TracBrowser for help on using the repository browser.