Tweaks to malloc(3) manpage
1. I don't see much reason to mention calloc() as an alternative to reallocarray() when it's the worse option. 2. Use size > 0 when testing overflow. ok? Index: lib/libc/stdlib/malloc.3 === RCS file:
Re: Tweaks to malloc(3) manpage
> 1. I don't see much reason to mention calloc() as an alternative to > reallocarray() when it's the worse option. calloc() still remains the portable option. Something should probably still be mentioned here, otherwise people fall back to unchecked malloc -- no matter what is stated further