This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]