aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man3/strcpy.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/strcpy.3 b/man3/strcpy.3
index 02f7bfaa14..f80b5fcf57 100644
--- a/man3/strcpy.3
+++ b/man3/strcpy.3
@@ -146,7 +146,7 @@ One valid (and intended) use of
.BR strncpy ()
is to copy a C string to a fixed-length buffer
while ensuring both that the buffer is not overflowed
-and that unused bytes in the target buffer are zeroed out
+and that unused bytes in the destination buffer are zeroed out
(perhaps to prevent information leaks if the buffer is to be
written to media or transmitted to another process via an
interprocess communication technique).
@@ -195,7 +195,7 @@ but it copies at most
bytes to
.IR dest ,
always adds a terminating null byte,
-and does not pad the target with (further) null bytes.
+and does not pad the destination with (further) null bytes.
This function fixes some of the problems of
.BR strcpy ()
and