forked from Bananymous/banan-os
				
			LibC: Add stub implementations for set{rlimit,priority}
This commit is contained in:
		
							parent
							
								
									cbcb9f9044
								
							
						
					
					
						commit
						caa8c1da90
					
				|  | @ -61,3 +61,17 @@ int getrusage(int who, struct rusage* r_usage) | ||||||
| 
 | 
 | ||||||
| 	return 0; | 	return 0; | ||||||
| } | } | ||||||
|  | 
 | ||||||
|  | int setrlimit(int resource, const struct rlimit* rlp) | ||||||
|  | { | ||||||
|  | 	dwarnln("TODO: setrlimit({}, {})", resource, rlp); | ||||||
|  | 	errno = ENOTSUP; | ||||||
|  | 	return -1; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | int setpriority(int which, id_t who, int value) | ||||||
|  | { | ||||||
|  | 	dwarnln("TODO: setpriority({}, {}, {})", which, who, value); | ||||||
|  | 	errno = ENOTSUP; | ||||||
|  | 	return -1; | ||||||
|  | } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue