public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Paul Eggert <eggert@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc] Fix type typo in “String/Array Conventions” doc Date: Thu, 9 Nov 2023 02:21:40 +0000 (GMT) [thread overview] Message-ID: <20231109022140.12E0F3858D38@sourceware.org> (raw) https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d1dcb565a1fb5829f9476a1438c30eccc4027d04 commit d1dcb565a1fb5829f9476a1438c30eccc4027d04 Author: Paul Eggert <eggert@cs.ucla.edu> 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 <alx@kernel.org> 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
reply other threads:[~2023-11-09 2:21 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20231109022140.12E0F3858D38@sourceware.org \ --to=eggert@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).