diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2018-08-04 11:30:53 +0200 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2018-08-04 11:30:53 +0200 |
| commit | 51d8bd5745657c85c5b24b34c644fd37e241436c (patch) | |
| tree | d678c58bbfa87f1ff8bebea9c43dc6dcee04d784 /man3/string.3 | |
| parent | bf8fc2759bd43c99e360ba0b50cedb9828f8ab62 (diff) | |
| download | man-pages-51d8bd5745657c85c5b24b34c644fd37e241436c.tar.gz | |
string.3, strlen.3, strnlen.3: Use 'bytes' not 'characters'
This is inline with POSIX terminology. See also the earlier
commit a00b7454b8234ff73ac4a78e9059558596b1b788 (in 2012)
which fixed most of these cases.
Reported-by: Jakub Wilk <jwilk@jwilk.net>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/string.3')
| -rw-r--r-- | man3/string.3 | 6 |
1 files changed, 3 insertions, 3 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 |
