projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sys/resource.h: add PRIO_MIN and PRIO_MAX for getpriority and setpriority
[musl]
/
include
/
sys
/
resource.h
diff --git
a/include/sys/resource.h
b/include/sys/resource.h
index
0cfbcf4
..
7fd6a37
100644
(file)
--- a/
include/sys/resource.h
+++ b/
include/sys/resource.h
@@
-59,6
+59,9
@@
int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
#define prlimit64 prlimit
#endif
+#define PRIO_MIN (-20)
+#define PRIO_MAX 20
+
#define PRIO_PROCESS 0
#define PRIO_PGRP 1
#define PRIO_USER 2