]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix type typo in “String/Array Conventions” doc
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 9 Nov 2023 02:19:08 +0000 (18:19 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 9 Nov 2023 02:20:09 +0000 (18:20 -0800)
* 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

manual/string.texi

index 4149d54ee7f932b2d2599e9762359fb2e8af26a8..6853e6655acd280f893c8afd6ee1f870ac4ea197 100644 (file)
@@ -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