Hash :
c428797e
Author :
Date :
2011-01-27T11:42:45
vma-iter, get-rusage-as: Add OpenBSD support. * modules/vma-iter (configure.ac): Test for mquery. * lib/vma-iter.h (VMA_ITERATE_SUPPORTED): Define also on OpenBSD. * lib/vma-iter.c: Include <sys/mman.h>. (vma_iterate): Add an implementation based on mquery(). * lib/resource-ext.h (get_rusage_as): Update comments. * lib/get-rusage-as.c: Likewise. * lib/get-rusage-data.c: Likewise.
Description:
Iteration over virtual memory areas.
Files:
lib/vma-iter.h
lib/vma-iter.c
m4/mmap-anon.m4
Depends-on:
stdint
unistd
extensions
getpagesize
configure.ac:
gl_FUNC_MMAP_ANON
AC_CHECK_FUNCS_ONCE([mquery])
Makefile.am:
lib_SOURCES += vma-iter.c
Include:
"vma-iter.h"
License:
GPL
Maintainer:
Bruno Haible