From b4f285e68da56b110a01b0dce117086f6e829d29 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 26 Jan 2011 12:56:22 +0100 Subject: New module 'get-rusage-data'. * lib/resource-ext.h (get_rusage_data): New declaration. * lib/get-rusage-data.c: New file. * modules/get-rusage-data: New file. --- modules/get-rusage-data | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 modules/get-rusage-data (limited to 'modules/get-rusage-data') 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 -- cgit v1.2.1