summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2023-12-05 00:44:40 +0100
committerAlejandro Colomar <alx@kernel.org>2023-12-05 00:44:40 +0100
commit082aa268e483357dab7d6c2132a475d7986181ae (patch)
tree0faf81f6a9624bb8f80233bd130b894865be911b
parentc41448a74ef5400602da8199a353b4edae7ace69 (diff)
string_copying.7: wfix
Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man7/string_copying.74
1 files changed, 3 insertions, 1 deletions
diff --git a/man7/string_copying.7 b/man7/string_copying.7
index 067a1156c..02e379a7d 100644
--- a/man7/string_copying.7
+++ b/man7/string_copying.7
@@ -287,7 +287,9 @@ To copy a known-length character sequence into a string, use
.IR "\%stpcpy(mempcpy(dst,\ src,\ len),\ \[dq]\[dq])" .
.P
A string is also accepted as input,
-because these functions ask for the length,
+because
+.BR mempcpy (3)
+asks for the length,
and a string is composed of a character sequence of the same length
plus a terminating null character.
.\" ----- DESCRIPTION :: String vs character sequence -----------------/