From patchwork Wed Jan 24 17:11:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos O'Donell X-Patchwork-Id: 1890340 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=gw839Ox9; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TKrB81Lj1z1yS7 for ; Thu, 25 Jan 2024 04:12:48 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 14FBE3858C2F for ; Wed, 24 Jan 2024 17:12:46 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id D60383858D28 for ; Wed, 24 Jan 2024 17:12:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D60383858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D60383858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706116353; cv=none; b=fc153/pQ83zWuJd7bs0h/lp+j/47IgULrxZZAY6WSMJiggZjlVTQVym6XyaH8uP3pCxydAPniDOquRLVFIz8pMoodSKhkMxFKZD0iyPFQRZVtokguKWjSoqMQ2hq9SZnYOo+zPMfZ8xMfsF5OCjWN4MTQEt59bACXKfFpCirWxs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706116353; c=relaxed/simple; bh=2a1TGr3s4ZIV0s365CvK0c5lanh/yr/RFciSY4H4Zdk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=GQk3w9Tb1g6qRHCmFOLBxFw3LFzX/EYySxIKHXsHwck0wa3yj8RN6aCkibkwUKaPDCPFPlKIE2cXJsCOGwxnWD24FKyqXd3tFQY64nBjXYs87BXG04gsGHP4g8q1c4Z6w2LL2NlCXXXPCk3VNhXBGdLR/rBKP9lKYMiX+sGhn7g= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1706116351; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rPPzcdOkyUp3I2LXNs0UGxp0o8MHrV2EbQ30BLQi5zM=; b=gw839Ox9yawtQdTKmxxHT/RpEgArLshLSyZSkCIexJ/48kiruA2a2y0wv/p9plzDBryu01 idSTAFWeb/caXk0TtH1I5XbR4+1n+e4HWSMOTChDUwseubs/62BWDfJdDk/N4fPHrDU1tO cm5q/zcrBlWQDegmkOqhIvU4iJr45TM= Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-471-gTsPrtUZO0GDyJ1V4Lp_4g-1; Wed, 24 Jan 2024 12:12:29 -0500 X-MC-Unique: gTsPrtUZO0GDyJ1V4Lp_4g-1 Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-781720619f9so873689185a.1 for ; Wed, 24 Jan 2024 09:12:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706116348; x=1706721148; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rPPzcdOkyUp3I2LXNs0UGxp0o8MHrV2EbQ30BLQi5zM=; b=KV9Dk4oxMTpYo32VPrJ0yjur5I3gbpkEKDvWJzFjLTYEQ1V6eC3R5Wy/s0/AHOWxoc /OFy16vB7H1CB7HYuWasG9Rrm2ztKP8A/vtSj2EkbfqQRg3eM+6d4UemZ5HDXB7wi2iX p3cDffuaUjN+7XBdVT35u3HFi3s2qeO8MB66mgGlUyuxWDiSxsPyKOQUYYxNaoPXkZB4 uQ9wk9iLUve3FizAlKH1AmszT+EZIAGX2UJ5ULP9pC5GeMppUGguExROhHgSma4SG1Ly y2A5tiotI8+hmdeHzTQed3jv4bLJmMcLpARkE6fYBgysutD8VvaYYOznZYSX86+CbqH3 oaJA== X-Gm-Message-State: AOJu0Yym3UHXTtLESYBhrW/XBPD4xcR5nyjcPJzYhw63450VauJA4JXf a2OBY6+Vtxs40c1CpnexDMQRQh60Akhe7Rci0prX5u/lVnOh/3lIqflR1juJELpiIu1H7SbRcY+ 5UiMw8v+ibD19aGjDYrvhPZgoFrFt3URmxCDKqgz9IvScB42M8gGmpkmrvSIVP+quZGOEt2c++m Z4TP9Cd+RJrxIrbiydXAxhBTmVBiasjeoD5UiAxbY= X-Received: by 2002:a05:620a:2483:b0:783:b7ee:4942 with SMTP id i3-20020a05620a248300b00783b7ee4942mr970609qkn.124.1706116348598; Wed, 24 Jan 2024 09:12:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEuBm2K1KifVO9tgrKmBxqXum+5boY0sAhVDpnam+Ywe34GtgFDFDvFvIAImQkPlY2yb8cPNQ== X-Received: by 2002:a05:620a:2483:b0:783:b7ee:4942 with SMTP id i3-20020a05620a248300b00783b7ee4942mr970595qkn.124.1706116348355; Wed, 24 Jan 2024 09:12:28 -0800 (PST) Received: from athas.localdomain ([198.48.244.52]) by smtp.gmail.com with ESMTPSA id u1-20020a05620a084100b007834318c7absm4217733qku.79.2024.01.24.09.12.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 09:12:28 -0800 (PST) From: Carlos O'Donell To: libc-alpha@sourceware.org Cc: Dennis Brendel , Carlos O'Donell Subject: [COMMITTED] manual: fix order of arguments of memalign and aligned_alloc (Bug 27547) Date: Wed, 24 Jan 2024 12:11:55 -0500 Message-ID: <20240124171206.1847283-1-carlos@redhat.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-type: text/plain; charset=UTF-8 X-Spam-Status: No, score=-13.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org From: Dennis Brendel 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 --- 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}.