summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strcpy.3
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-07-19 11:26:52 +0000
committerdd <dd@FreeBSD.org>2001-07-19 11:26:52 +0000
commit6705744fe1888fb5f7cc365e5b8b0766b2b16eb2 (patch)
tree31d4a2474c09bc856be52b7d6c235b013e9637b3 /lib/libc/string/strcpy.3
parent5a7c7bcbb68e5f582b58935720cf29d612ccf4eb (diff)
downloadFreeBSD-src-6705744fe1888fb5f7cc365e5b8b0766b2b16eb2.zip
FreeBSD-src-6705744fe1888fb5f7cc365e5b8b0766b2b16eb2.tar.gz
Don't claim that strncpy() is the same as strcpy().
PR: 29002 Submitted by: Joseph Mallett <jmallett@xMach.org>
Diffstat (limited to 'lib/libc/string/strcpy.3')
-rw-r--r--lib/libc/string/strcpy.312
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/string/strcpy.3 b/lib/libc/string/strcpy.3
index 208a3f9..00d7df4 100644
--- a/lib/libc/string/strcpy.3
+++ b/lib/libc/string/strcpy.3
@@ -53,10 +53,8 @@
.Sh DESCRIPTION
The
.Fn strcpy
-and
-.Fn strncpy
-functions
-copy the string
+function
+copies the string
.Fa src
to
.Fa dst
@@ -66,9 +64,11 @@ character).
.Pp
The
.Fn strncpy
-copies not more than
+function copies not more than
.Fa len
-characters into
+characters from
+.Fa src
+into
.Fa dst ,
appending
.Ql \e0
OpenPOWER on IntegriCloud