LibC: Add getpriority stub
This is needed for our cmake port
This commit is contained in:
parent
e3ecf05866
commit
a3bdf0456e
|
@ -69,6 +69,13 @@ int setrlimit(int resource, const struct rlimit* rlp)
|
|||
return -1;
|
||||
}
|
||||
|
||||
int getpriority(int which, id_t who)
|
||||
{
|
||||
dwarnln("TODO: getpriority({}, {}, {})", which, who);
|
||||
errno = ENOTSUP;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int setpriority(int which, id_t who, int value)
|
||||
{
|
||||
dwarnln("TODO: setpriority({}, {}, {})", which, who, value);
|
||||
|
|
Loading…
Reference in New Issue