From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1211) id 12E0F3858D38; Thu, 9 Nov 2023 02:21:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 12E0F3858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699496500; bh=oPkuO72n/kceL9PGzAoHYj6xDlQ2Z4o5MKSunTNsk5w=; h=From:To:Subject:Date:From; b=XZfunaShbvJge8FU8VgE0WclpeWwMczvt70sf7V6CnzonYRbrgu4wfrvXgX5/GAKW WzIpF5CTMH4qUete1E9VRPj1YXrGAedKn6T1xAD6AEZh5cojw3iysnlWUGCWFPUtMM tAQcaXTGg1zIrYuBHTofKP0JQcRlL9TomNgiohoc= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: Paul Eggert To: glibc-cvs@sourceware.org Subject: =?utf-8?q?=5Bglibc=5D_Fix_type_typo_in_=E2=80=9CString/Array_Conventions?= =?utf-8?b?4oCdIGRvYw==?= X-Act-Checkin: glibc X-Git-Author: Paul Eggert X-Git-Refname: refs/heads/master X-Git-Oldrev: f8cfb6836e8d91bb789b2e7fd65338d6f5bd459c X-Git-Newrev: d1dcb565a1fb5829f9476a1438c30eccc4027d04 Message-Id: <20231109022140.12E0F3858D38@sourceware.org> Date: Thu, 9 Nov 2023 02:21:40 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d1dcb565a1fb5829f9476a1438c30eccc4027d04 commit d1dcb565a1fb5829f9476a1438c30eccc4027d04 Author: Paul Eggert Date: Wed Nov 8 18:19:08 2023 -0800 Fix type typo in “String/Array Conventions” doc * manual/string.texi (String/Array Conventions): Fix typo reported by Alejandro Colomar in: https://sourceware.org/pipermail/libc-alpha/2023-November/152646.html Diff: --- manual/string.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/string.texi b/manual/string.texi index 4149d54ee7..6853e6655a 100644 --- a/manual/string.texi +++ b/manual/string.texi @@ -178,7 +178,7 @@ beginning with @samp{mem} and @samp{wmem} (such as @code{memcpy} and @code{wmemcpy}) and invariably take an argument which specifies the size (in bytes and wide characters respectively) of the block of memory to operate on. The array arguments and return values for these functions -have type @code{void *} or @code{wchar_t}. As a matter of style, the +have type @code{void *} or @code{wchar_t *}. As a matter of style, the elements of the arrays used with the @samp{mem} functions are referred to as ``bytes''. You can pass any kind of pointer to these functions, and the @code{sizeof} operator is useful in computing the value for the