summary refs log tree commit diff
path: root/manual/memory.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-03-22 09:39:21 +0000
committerUlrich Drepper <drepper@redhat.com>2002-03-22 09:39:21 +0000
commiteab0f04c474e5d81fee65d8a221e26759e78ffe5 (patch)
treea1e51e67d1bf8d12782d6c07339fa9b78822d666 /manual/memory.texi
parentfbaee91d72bbe63f7502a5cb8486e0c0d36aa27e (diff)
downloadglibc-eab0f04c474e5d81fee65d8a221e26759e78ffe5.tar.gz
glibc-eab0f04c474e5d81fee65d8a221e26759e78ffe5.tar.xz
glibc-eab0f04c474e5d81fee65d8a221e26759e78ffe5.zip
(Aligned Memory Blocks): Correct description of where memalign is declared [PR libc/3127].
Diffstat (limited to 'manual/memory.texi')
-rw-r--r--manual/memory.texi5
1 files changed, 3 insertions, 2 deletions
diff --git a/manual/memory.texi b/manual/memory.texi
index 3a505e6ff5..e370c72e43 100644
--- a/manual/memory.texi
+++ b/manual/memory.texi
@@ -617,14 +617,15 @@ The address of a block returned by @code{malloc} or @code{realloc} in
 the GNU system is always a multiple of eight (or sixteen on 64-bit
 systems).  If you need a block whose address is a multiple of a higher
 power of two than that, use @code{memalign}, @code{posix_memalign}, or
-@code{valloc}.  These functions are declared in @file{stdlib.h}.
+@code{valloc}.  @code{memalign} is declared in @file{malloc.h} and
+@code{posix_memalign) is declared in @file{stdlib.h}.
 
 With the GNU library, you can use @code{free} to free the blocks that
 @code{memalign}, @code{posix_memalign}, and @code{valloc} return.  That
 does not work in BSD, however---BSD does not provide any way to free
 such blocks.
 
-@comment malloc.h stdlib.h
+@comment malloc.h
 @comment BSD
 @deftypefun {void *} memalign (size_t @var{boundary}, size_t @var{size})
 The @code{memalign} function allocates a block of @var{size} bytes whose