summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/reallocarray.3
AgeCommit message (Collapse)Author
2025-10-03lib/libc: add recallocarray()Robert Clausecker
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
2024-11-14libc: indicate existing functions that are POSIX 2024Ed Maste
Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D47581
2023-08-16Remove $FreeBSD$: two-line nroff patternWarner Losh
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
2015-05-05Fix major copy/paste and other style errors.Sergey Kandaurov
Notes: svn path=/head/; revision=282472
2015-05-01Apply the copyright the the same owners as the original malloc(3) where most ofBaptiste Daroussin
the text here comes from Reported by: many Discussed with: miod@OpenBSD.org Pointyhat to: bapt Notes: svn path=/head/; revision=282321
2015-05-01Import reallocarray(3) from OpenBSDBaptiste Daroussin
Add a manpage for it, assign the copyright to the OpenBSD project on it since it is mostly copy/paste from OpenBSD manpage. style(9) fixes Differential Revision: https://reviews.freebsd.org/D2420 Reviewed by: kib Notes: svn path=/head/; revision=282314