From df523897ea84f155098593df82ac040482951a91 Mon Sep 17 00:00:00 2001 From: Dima Dorfman Date: Thu, 19 Jul 2001 11:26:52 +0000 Subject: Don't claim that strncpy() is the same as strcpy(). PR: 29002 Submitted by: Joseph Mallett --- lib/libc/string/strcpy.3 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/libc/string') diff --git a/lib/libc/string/strcpy.3 b/lib/libc/string/strcpy.3 index 208a3f947660f..00d7df46657ac 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 -- cgit v1.3