mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:17:36 +00:00
LibC: Add getpriority() and setpriority() stubs
Expected behavior left as a FIXME is outlined here: https://pubs.opengroup.org/onlinepubs/7908799/xsh/getpriority.html
This commit is contained in:
parent
a6539cc031
commit
380c42c405
3 changed files with 31 additions and 0 deletions
|
@ -58,4 +58,11 @@ struct rlimit {
|
|||
int getrlimit(int, struct rlimit*);
|
||||
int setrlimit(int, struct rlimit const*);
|
||||
|
||||
#define PRIO_PROCESS 0
|
||||
#define PRIO_PGRP 1
|
||||
#define PRIO_USER 2
|
||||
|
||||
int getpriority(int, id_t);
|
||||
int setpriority(int, id_t, int);
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue