source: branches/minix3-book/include/sys/resource.h@ 12

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

Importazione sorgenti libro

File size: 350 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#define PRIO_PROCESS 0
12#define PRIO_PGRP 1
13#define PRIO_USER 2
14
15int getpriority(int, int);
16int setpriority(int, int, int);
17
18#endif
Note: See TracBrowser for help on using the repository browser.