view modules/get-rusage-as @ 17450:fcdfb5b7741a

* lib/tmpdir.c: Simplify code to add slash; no need for a loop.
author Paul Eggert <eggert@cs.ucla.edu>
date Mon, 15 Jul 2013 13:32:24 -0700
parents dd46d4e6beea
children
line wrap: on
line source

Description:
Getter for RLIMIT_AS: Returns the current address space size.

Files:
lib/resource-ext.h
lib/get-rusage-as.c
m4/mmap-anon.m4

Depends-on:
stdint
unistd
extensions
getpagesize
vma-iter

configure.ac:
AC_CHECK_FUNCS_ONCE([setrlimit])
gl_FUNC_MMAP_ANON
AC_CHECK_HEADERS_ONCE([sys/mman.h])
AC_CHECK_FUNCS_ONCE([mprotect])

Makefile.am:
lib_SOURCES += get-rusage-as.c

Include:
"resource-ext.h"

License:
GPL

Maintainer:
Bruno Haible