00001 #ifndef _SYS_RESOURCE_H 00002 #define _SYS_RESOURCE_H 00003 00004 /* Priority range for the get/setpriority() interface. 00005 * It isn't a mapping on the internal minix scheduling 00006 * priority. 00007 */ 00008 #define PRIO_MIN -20 00009 #define PRIO_MAX 20 00010 00011 /* Magic, invalid priority to stop the process. */ 00012 #define PRIO_STOP 76 00013 00014 #define PRIO_PROCESS 0 00015 #define PRIO_PGRP 1 00016 #define PRIO_USER 2 00017 00018 int getpriority(int, int); 00019 int setpriority(int, int, int); 00020 00021 #endif
1.4.6