On 7/21/20 9:21 AM, Bruno Haible wrote:
I prefer posix_memalign to aligned_alloc, because aligned_alloc requires
additionally that the SIZE is a multiple of the ALIGNMENT.

What uses of posix_memalign have a SIZE that is not a multiple of ALIGNMENT? I'm asking partly because every time I've done that in the past (admittedly not that often), I've ended up regretting it.

Reply via email to