aboutsummaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2013-11-06 09:48:10 +0000
committerWill Newton <will.newton@linaro.org>2013-12-16 14:51:29 +0000
commit0a096e4487541671336aa61b0fac10322a9bbbfe (patch)
tree782c1eea26d9740ed4cb4006e0e8813408f02da5 /mach
parent8d561986c0b44c1f9b489b30b661354cf456eac5 (diff)
downloadglibc-0a096e4487541671336aa61b0fac10322a9bbbfe.tar
glibc-0a096e4487541671336aa61b0fac10322a9bbbfe.tar.gz
glibc-0a096e4487541671336aa61b0fac10322a9bbbfe.tar.bz2
glibc-0a096e4487541671336aa61b0fac10322a9bbbfe.zip
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.
Diffstat (limited to 'mach')
0 files changed, 0 insertions, 0 deletions