get-rusage-data: Fix link error on FreeBSD 12.2/arm64.
commitc3ffa09c79b3046ef6b06a5a5f4381e60de74ea9
authorBruno Haible <bruno@clisp.org>
Mon, 7 Dec 2020 18:43:06 +0000 (7 19:43 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 7 Dec 2020 18:43:06 +0000 (7 19:43 +0100)
tree764cb3ebaf18f3408c5cd6deb5aad96db533e93b
parenta0654cff8f1cbb705fbcba80841c58747b993440
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.
ChangeLog
doc/glibc-functions/brk.texi
doc/glibc-functions/sbrk.texi
lib/get-rusage-data.c
modules/get-rusage-data