(Aligned Memory Blocks): Correct description of where memalign is declared [PR libc/3127].

This commit is contained in:
Ulrich Drepper 2002-03-22 09:39:21 +00:00
parent fbaee91d72
commit eab0f04c47
3 changed files with 30 additions and 30 deletions

View File

@ -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

View File

@ -6,7 +6,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GNU libc 2.2.5\n"
"POT-Creation-Date: 2001-08-17 13:03-0700\n"
"PO-Revision-Date: 2002-03-16 21:00-0500\n"
"PO-Revision-Date: 2002-03-17 20:00-0500\n"
"Last-Translator: Michel Robitaille <robitail@IRO.UMontreal.CA>\n"
"Language-Team: French <traduc@traduc.org>\n"
"MIME-Version: 1.0\n"

View File

@ -6,7 +6,6 @@ pwrite - pwrite 4 __libc_pwrite __libc_pwrite64 __pwrite pwrite __pwrite64 pwr
fstatfs - fstatfs i:ip __fstatfs fstatfs fstatfs64 __fstatfs64
statfs - statfs i:sp __statfs statfs statfs64
getpeername - getpeername i:ipp __getpeername getpeername
getpriority - getpriority i:ii __getpriority getpriority
ftruncate - ftruncate 2 __ftruncate ftruncate ftruncate64 __ftruncate64
truncate - truncate 2 truncate truncate64
getrlimit - getrlimit 2 __getrlimit getrlimit getrlimit64