[PATCH 2/2] manual/memory.texi: Bring aligned allocation docs up to date.

Will Newton will.newton@linaro.org
Wed Nov 6 14:17:00 GMT 2013


On 6 November 2013 12:58, Joseph S. Myers <joseph@codesourcery.com> wrote:
> On Wed, 6 Nov 2013, Will Newton wrote:
>
>> The current documentation suggests using memalign and valloc which
>> are now considered obsolete, so suggest using posix_memalign instead.
>
> What about C11 aligned_alloc?

It is currently not documented at all. I could add that as part of
this patch or as another if you prefer? It is not entirely clear to me
when one would prefer aligned_alloc over posix_memalign. Maybe
portability?

-- 
Will Newton
Toolchain Working Group, Linaro



More information about the Libc-alpha mailing list