mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
manual: fix order of arguments of memalign and aligned_alloc (Bug 27547)
On the summary page the order of the function arguments was reversed, but it is in correct order in the other places of the manual. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
486452affb
commit
c06c8aeb61
@ -1502,7 +1502,7 @@ Space}.
|
||||
Allocate a block of @var{size} bytes, starting on a page boundary.
|
||||
@xref{Aligned Memory Blocks}.
|
||||
|
||||
@item void *aligned_alloc (size_t @var{size}, size_t @var{alignment})
|
||||
@item void *aligned_alloc (size_t @var{alignment}, size_t @var{size})
|
||||
Allocate a block of @var{size} bytes, starting on an address that is a
|
||||
multiple of @var{alignment}. @xref{Aligned Memory Blocks}.
|
||||
|
||||
@ -1510,7 +1510,7 @@ multiple of @var{alignment}. @xref{Aligned Memory Blocks}.
|
||||
Allocate a block of @var{size} bytes, starting on an address that is a
|
||||
multiple of @var{alignment}. @xref{Aligned Memory Blocks}.
|
||||
|
||||
@item void *memalign (size_t @var{size}, size_t @var{boundary})
|
||||
@item void *memalign (size_t @var{boundary}, size_t @var{size})
|
||||
Allocate a block of @var{size} bytes, starting on an address that is a
|
||||
multiple of @var{boundary}. @xref{Aligned Memory Blocks}.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user