projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2bcd24
)
2009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
author
Roland McGrath
<roland@gnu.org>
Sat, 3 Jan 2009 21:04:01 +0000
(21:04 +0000)
committer
Roland McGrath
<roland@gnu.org>
Sat, 3 Jan 2009 21:04:01 +0000
(21:04 +0000)
* bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.
bits/resource.h
patch
|
blob
|
history
diff --git
a/bits/resource.h
b/bits/resource.h
index 8057f5cc657005bdc89fae39fd7d5008c6553a43..ef718db0bc37484bacf635e509023a4fcb40c92e 100644
(file)
--- a/
bits/resource.h
+++ b/
bits/resource.h
@@
-185,6
+185,9
@@
struct rusage
enum __priority_which
{
PRIO_PROCESS = 0, /* WHO is a process ID. */
+#define PRIO_PROCESS PRIO_PROCESS
PRIO_PGRP = 1, /* WHO is a process group ID. */
+#define PRIO_PGRP PRIO_PGRP
PRIO_USER = 2 /* WHO is a user ID. */
+#define PRIO_USER PRIO_USER
};