summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-06-29 11:55:41 -0400
committerRich Felker <dalias@aerifal.cx>2016-06-29 11:55:41 -0400
commit5c43e1dbc8716536551d392f834c6752a3e82cec (patch)
tree8822def3aae9449bdc00dbf050d14678a68607db /include
parentb3bbc7b16067c82e528d3de580f807b8316f096e (diff)
downloadmusl-5c43e1dbc8716536551d392f834c6752a3e82cec.tar.gz
musl-5c43e1dbc8716536551d392f834c6752a3e82cec.tar.bz2
musl-5c43e1dbc8716536551d392f834c6752a3e82cec.tar.xz
musl-5c43e1dbc8716536551d392f834c6752a3e82cec.zip
add RUSAGE_THREAD (Linux extension) definition to sys/resource.h
Diffstat (limited to 'include')
-rw-r--r--include/sys/resource.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/resource.h b/include/sys/resource.h
index ef02a391..6f22a2e7 100644
--- a/include/sys/resource.h
+++ b/include/sys/resource.h
@@ -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