LibC: Add getpriority stub

This is needed for our cmake port
This commit is contained in:
Bananymous 2025-08-07 02:35:26 +03:00
parent e3ecf05866
commit a3bdf0456e
1 changed files with 7 additions and 0 deletions

View File

@ -69,6 +69,13 @@ int setrlimit(int resource, const struct rlimit* rlp)
return -1; 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) int setpriority(int which, id_t who, int value)
{ {
dwarnln("TODO: setpriority({}, {}, {})", which, who, value); dwarnln("TODO: setpriority({}, {}, {})", which, who, value);