This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 1/2] manual/memory.texi: Bring aligned allocation docs up to date.
- From: Will Newton <will dot newton at linaro dot org>
- To: libc-alpha <libc-alpha at sourceware dot org>
- Cc: Patch Tracking <patches at linaro dot org>
- Date: Wed, 20 Nov 2013 11:08:45 +0000
- Subject: Re: [PATCH v2 1/2] manual/memory.texi: Bring aligned allocation docs up to date.
- Authentication-results: sourceware.org; auth=none
- References: <527A6F48 dot 5040803 at linaro dot org>
On 6 November 2013 16:33, Will Newton <will.newton@linaro.org> wrote:
>
> The current documentation suggests using memalign and valloc which
> are now considered obsolete, so suggest using posix_memalign instead.
> Also document the possible error return and errno values for memalign
> and posix_memalign and improve documentation of __memalign_hook.
>
> ChangeLog:
>
> 2013-11-06 Will Newton <will.newton@linaro.org>
>
> * manual/memory.texi (Malloc Examples): Clarify default
> alignment documentation. Suggest posix_memalign rather
> than memalign or valloc.
> (Aligned Memory Blocks): Remove suggestion to use memalign
> or valloc. Remove obsolete comment about BSD.
> Document memalign errno values and mark the function obsolete.
> Document posix_memalign returned error codes. Mark valloc
> as obsolete. (Hooks for Malloc): __memalign_hook is also
> called for posix_memalign and valloc.
> (Summary of Malloc): Add posix_memalign to function summary.
> __memalign_hook is also called for posix_memalign and valloc.
> ---
> manual/memory.texi | 61 +++++++++++++++++++++++++++++++++++++++---------------
> 1 file changed, 44 insertions(+), 17 deletions(-)
>
> Changes in v2:
> - Fix incorrect errno definitions
Ping?
--
Will Newton
Toolchain Working Group, Linaro