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

Will Newton will.newton@linaro.org
Fri Nov 22 05:30:00 GMT 2013


On 20 November 2013 19:23, Paul Eggert <eggert@cs.ucla.edu> wrote:

Hi Paul,

> This version of the patch suggests posix_memalign,
> and doesn't mention aligned_alloc at all.  The documentation
> should suggest aligned_alloc first, and posix_memalign second.
> aligned_alloc is the better interface and is part of C11 so it'll
> be available on more platforms eventually; posix_memalign
> is also worth mentioning as it's available on more platforms
> now.

I submitted a second patch to add aligned_alloc documentation. I can
certainly squash them together if you think that makes more sense.

-- 
Will Newton
Toolchain Working Group, Linaro



More information about the Libc-alpha mailing list