add RUSAGE_THREAD (Linux extension) definition to sys/resource.h

This commit is contained in:
Rich Felker 2016-06-29 11:55:41 -04:00
parent b3bbc7b160
commit 5c43e1dbc8
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
#define RUSAGE_SELF 0
#define RUSAGE_CHILDREN (-1)
#define RUSAGE_THREAD 1
#define RLIM_INFINITY (~0ULL)
#define RLIM_SAVED_CUR RLIM_INFINITY