aboutsummaryrefslogtreecommitdiff
path: root/manual/string.texi
diff options
context:
space:
mode:
Diffstat (limited to 'manual/string.texi')
-rw-r--r--manual/string.texi9
1 files changed, 7 insertions, 2 deletions
diff --git a/manual/string.texi b/manual/string.texi
index 2fe6039..f582bad 100644
--- a/manual/string.texi
+++ b/manual/string.texi
@@ -1187,8 +1187,8 @@ regards these characters as parts of the alphabet they do match.
@comment ISO
@deftypefun int strncmp (const char *@var{s1}, const char *@var{s2}, size_t @var{size})
This function is the similar to @code{strcmp}, except that no more than
-@var{size} characters are compared. In other words, if the two
-strings are the same in their first @var{size} characters, the
+@var{size} wide characters are compared. In other words, if the two
+strings are the same in their first @var{size} wide characters, the
return value is zero.
@end deftypefun
@@ -1966,6 +1966,11 @@ Note that ``character'' is here used in the sense of byte. In a string
using a multibyte character encoding (abstract) character consisting of
more than one byte are not treated as an entity. Each byte is treated
separately. The function is not locale-dependent.
+
+Note that ``character'' is here used in the sense of byte. In a string
+using a multibyte character encoding (abstract) character consisting of
+more than one byte are not treated as an entity. Each byte is treated
+separately. The function is not locale-dependent.
@end deftypefun
@comment wchar.h