diff options
| author | Robert Clausecker <fuz@FreeBSD.org> | 2025-10-02 14:33:55 +0000 |
|---|---|---|
| committer | Robert Clausecker <fuz@FreeBSD.org> | 2025-12-12 10:32:37 +0000 |
| commit | e72536a11fab2dbd17174a3205c394b82ae65b88 (patch) | |
| tree | cbb404d7cba45773c34ccb879f636996d7892c24 /lib/libc++/libc++.ldscript | |
| parent | 5588350cf9d40bec254708097bfa26f0c429d9c1 (diff) | |
lib/libc: add recallocarray()
This function from OpenBSD is a hybrid of reallocarray() and calloc().
It reallocates an array, clearing any newly allocated items.
reallocarray() ultimately originates from OpenBSD.
The source is taken from lib/libopenbsd, which now no longer has the
function unless when bootstrapping (needed for mandoc).
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D52863
(cherry picked from commit 42664610795bc0a728851ba6223fcf9b93801167)
Diffstat (limited to 'lib/libc++/libc++.ldscript')
0 files changed, 0 insertions, 0 deletions
