diff options
author | Will Newton <will.newton@linaro.org> | 2013-11-06 09:48:10 +0000 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2013-12-16 14:51:29 +0000 |
commit | 0a096e4487541671336aa61b0fac10322a9bbbfe (patch) | |
tree | 782c1eea26d9740ed4cb4006e0e8813408f02da5 /nptl | |
parent | 8d561986c0b44c1f9b489b30b661354cf456eac5 (diff) | |
download | glibc-0a096e4487541671336aa61b0fac10322a9bbbfe.tar.gz glibc-0a096e4487541671336aa61b0fac10322a9bbbfe.tar.xz 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 'nptl')
0 files changed, 0 insertions, 0 deletions