Hash :
c3ffa09c
Author :
Date :
2020-12-07T19:43:06
get-rusage-data: Fix link error on FreeBSD 12.2/arm64. * modules/get-rusage-data (configure.ac): Test whether sbrk exists. * lib/get-rusage-data.c (get_rusage_data_via_setrlimit): Define trivially of sbrk is not available. * doc/glibc-functions/sbrk.texi: Mention that the function does not exist in FreeBSD 12.2/arm64. * doc/glibc-functions/brk.texi: Likewise.
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_CHECK_FUNCS_ONCE([sbrk setrlimit])
gl_FUNC_MMAP_ANON
Makefile.am:
lib_SOURCES += get-rusage-data.c
Include:
"resource-ext.h"
License:
GPL
Maintainer:
all