summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/recallocarray.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Type-cast getpagesize() from int to size_t for the comparison with d.claudio2021-03-181-2/+2
| | | | | | | getpagesize() will only return positive numbers (there is no negative page size system) and it can not fail. Should fix some compiler warnings seen in -portable projects. OK otto@
* Introducing recallocarray(3), a blend of calloc(3) and reallocarray(3)otto2017-03-061-0/+81
with the added feature that released memory is cleared. Much input from various developers. ok deraadt@ tom@