Added <sys/resource.h> for [gs]etpriority() call.
This commit is contained in:
		
							parent
							
								
									2ce80ece5c
								
							
						
					
					
						commit
						83f0f501f8
					
				
							
								
								
									
										19
									
								
								include/sys/resource.h
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										19
									
								
								include/sys/resource.h
									
									
									
									
									
										Executable 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 | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Ben Gras
						Ben Gras