mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:32:43 +00:00 
			
		
		
		
	 380c42c405
			
		
	
	
		380c42c405
		
	
	
	
	
		
			
			Expected behavior left as a FIXME is outlined here: https://pubs.opengroup.org/onlinepubs/7908799/xsh/getpriority.html
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			467 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			467 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2021, the SerenityOS developers.
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #include <AK/Format.h>
 | |
| #include <sys/resource.h>
 | |
| 
 | |
| extern "C" {
 | |
| 
 | |
| int getpriority([[maybe_unused]] int which, [[maybe_unused]] id_t who)
 | |
| {
 | |
|     dbgln("FIXME: Implement getpriority()");
 | |
|     return -1;
 | |
| }
 | |
| 
 | |
| int setpriority([[maybe_unused]] int which, [[maybe_unused]] id_t who, [[maybe_unused]] int value)
 | |
| {
 | |
|     dbgln("FIXME: Implement setpriority()");
 | |
|     return -1;
 | |
| }
 | |
| }
 |