aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
Diffstat (limited to 'man3')
-rw-r--r--man3/string.36
-rw-r--r--man3/strlen.32
-rw-r--r--man3/strnlen.32
3 files changed, 5 insertions, 5 deletions
diff --git a/man3/string.3 b/man3/string.3
index e6cdbfe5a8..708ea3a201 100644
--- a/man3/string.3
+++ b/man3/string.3
@@ -46,7 +46,7 @@ ignoring case.
.BI "int strncasecmp(const char *" s1 ", const char *" s2 ", size_t " n );
Compare the first
.I n
-characters of the strings
+bytes of the strings
.I s1
and
.I s2
@@ -132,7 +132,7 @@ Return the length of the string
.BI "char *strncat(char *" dest ", const char *" src ", size_t " n );
Append at most
.I n
-characters from the string
+bytes from the string
.I src
to the string
.IR dest ,
@@ -199,7 +199,7 @@ Transforms
.I src
to the current locale and copies the first
.I n
-characters to
+bytes to
.IR dest .
.SH DESCRIPTION
The string functions perform operations on null-terminated
diff --git a/man3/strlen.3 b/man3/strlen.3
index 972b7c2608..397d225a1c 100644
--- a/man3/strlen.3
+++ b/man3/strlen.3
@@ -45,7 +45,7 @@ excluding the terminating null byte (\(aq\\0\(aq).
.SH RETURN VALUE
The
.BR strlen ()
-function returns the number of characters in the string pointed to by
+function returns the number of bytes in the string pointed to by
.IR s .
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
diff --git a/man3/strnlen.3 b/man3/strnlen.3
index cf052ae785..7675effb7b 100644
--- a/man3/strnlen.3
+++ b/man3/strnlen.3
@@ -41,7 +41,7 @@ _GNU_SOURCE
.SH DESCRIPTION
The
.BR strnlen ()
-function returns the number of characters in the string
+function returns the number of bytes in the string
pointed to by
.IR s ,
excluding the terminating null byte (\(aq\\0\(aq),