aboutsummaryrefslogtreecommitdiff
path: root/bits
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2009-01-03 21:04:01 +0000
committerRoland McGrath <roland@gnu.org>2009-01-03 21:04:01 +0000
commit7832cb801b42af879db7060df9d7b7986b610c22 (patch)
tree31c00cedc96bb9548e114997a87c9f8ef278a67a /bits
parentb2bcd249bf2ada6ad1212c91e4a152b5366b6fd8 (diff)
downloadglibc-7832cb801b42af879db7060df9d7b7986b610c22.tar
glibc-7832cb801b42af879db7060df9d7b7986b610c22.tar.gz
glibc-7832cb801b42af879db7060df9d7b7986b610c22.tar.bz2
glibc-7832cb801b42af879db7060df9d7b7986b610c22.zip
2009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
* bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.
Diffstat (limited to 'bits')
-rw-r--r--bits/resource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bits/resource.h b/bits/resource.h
index 8057f5cc65..ef718db0bc 100644
--- 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
};