2009-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>

* bits/resource.h (PRIO_PROCESS, PRIO_PGRP, PRIO_USER): Add macros.
This commit is contained in:
Roland McGrath 2009-01-03 21:04:01 +00:00
parent b2bcd249bf
commit 7832cb801b
1 changed files with 3 additions and 0 deletions

View File

@ -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
};