]> git.ipfire.org Git - thirdparty/glibc.git/commit - ChangeLog
manual/memory.texi: Bring aligned allocation docs up to date.
authorWill Newton <will.newton@linaro.org>
Wed, 6 Nov 2013 09:48:10 +0000 (09:48 +0000)
committerWill Newton <will.newton@linaro.org>
Mon, 16 Dec 2013 14:51:29 +0000 (14:51 +0000)
commit0a096e4487541671336aa61b0fac10322a9bbbfe
tree782c1eea26d9740ed4cb4006e0e8813408f02da5
parent8d561986c0b44c1f9b489b30b661354cf456eac5
manual/memory.texi: Bring aligned allocation docs up to date.

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-12-16  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.
ChangeLog
manual/memory.texi