From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2191) id E62343858C52; Wed, 24 Jan 2024 17:12:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E62343858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1706116362; bh=SBRDi5H0/hb1tRP8p3B3My6kC696PmYVpKLL1nV/upo=; h=From:To:Subject:Date:From; b=JDBDn8D+I3+NlGzH3TKnrqDz4UNr4659QYEE6d4y61dd0URFP9r/2LeShL8vt/EI1 fM0WxsexZDHJGkhGxFih8y5gm7hn01pU9eyXcKeY3H6J3cEd7YhVGIwagHXBnQobyB MnZtValAgbn6gbFDEMHhUXIhwLQKcmhcxopC+JNM= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Carlos O'Donell To: glibc-cvs@sourceware.org Subject: [glibc] manual: fix order of arguments of memalign and aligned_alloc (Bug 27547) X-Act-Checkin: glibc X-Git-Author: Dennis Brendel X-Git-Refname: refs/heads/master X-Git-Oldrev: 486452affbac684db739b7fcca1e84e8a7ce33d1 X-Git-Newrev: c06c8aeb61708249d8eb0b17a676d16771ea640b Message-Id: <20240124171242.E62343858C52@sourceware.org> Date: Wed, 24 Jan 2024 17:12:42 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c06c8aeb61708249d8eb0b17a676d16771ea640b commit c06c8aeb61708249d8eb0b17a676d16771ea640b Author: Dennis Brendel Date: Mon Jan 15 09:55:37 2024 +0100 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 Diff: --- manual/memory.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manual/memory.texi b/manual/memory.texi index fb875f4c3c..3710d7ec66 100644 --- a/manual/memory.texi +++ b/manual/memory.texi @@ -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}.