summaryrefslogtreecommitdiff
path: root/modules/get-rusage-data
diff options
context:
space:
mode:
Diffstat (limited to 'modules/get-rusage-data')
-rw-r--r--modules/get-rusage-data31
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/get-rusage-data b/modules/get-rusage-data
new file mode 100644
index 0000000000..2d8d378530
--- /dev/null
+++ b/modules/get-rusage-data
@@ -0,0 +1,31 @@
+Description:
+Getter for RLIMIT_DATA: Returns the data segment size.
+
+Files:
+lib/resource-ext.h
+lib/get-rusage-data.c
+m4/mmap-anon.m4
+
+Depends-on:
+stdint
+unistd
+extensions
+getpagesize
+vma-iter
+
+configure.ac:
+AC_REQUIRE([AC_C_INLINE])
+AC_CHECK_FUNCS_ONCE([setrlimit])
+gl_FUNC_MMAP_ANON
+
+Makefile.am:
+lib_SOURCES += get-rusage-data.c
+
+Include:
+"resource-ext.h"
+
+License:
+GPL
+
+Maintainer:
+Bruno Haible