Added <sys/resource.h> for [gs]etpriority() call.

This commit is contained in:
Ben Gras 2005-07-01 09:59:49 +00:00
parent 2ce80ece5c
commit 83f0f501f8

19
include/sys/resource.h Executable file
View File

@ -0,0 +1,19 @@
#ifndef _SYS_RESOURCE_H
#define _SYS_RESOURCE_H
/* Priority range for the get/setpriority() interface.
* It isn't a mapping on the internal minix scheduling
* priority.
*/
#define PRIO_MIN -20
#define PRIO_MAX 20
#define PRIO_PROCESS 0
#define PRIO_PGRP 1
#define PRIO_USER 2
int getpriority(int, int);
int setpriority(int, int, int);
#endif