diff options
author | des <des@FreeBSD.org> | 2002-10-23 08:55:14 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-10-23 08:55:14 +0000 |
commit | 98590d4f32d311e9117eecef511a19a1db44d2a0 (patch) | |
tree | f272d6e5612d7e50c664b3a798519fdcd0795f13 /lib | |
parent | 4c59c987d84f77190fa48fa3e83a6136d19de44a (diff) | |
download | FreeBSD-src-98590d4f32d311e9117eecef511a19a1db44d2a0.zip FreeBSD-src-98590d4f32d311e9117eecef511a19a1db44d2a0.tar.gz |
Translate to English.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/string/strcpy.3 | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/lib/libc/string/strcpy.3 b/lib/libc/string/strcpy.3 index 5079ddd..01456d0 100644 --- a/lib/libc/string/strcpy.3 +++ b/lib/libc/string/strcpy.3 @@ -54,36 +54,41 @@ .Fn strncpy "char * restrict dst" "const char * restrict src" "size_t len" .Sh DESCRIPTION The -.Fn stpcpy , +.Fn stpcpy +and .Fn strcpy -function -copies the string +functions +copy the string .Fa src to .Fa dst (including the terminating .Ql \e0 -character). +character.) .Pp The .Fn strncpy -function copies not more than +function copies at most .Fa len characters from .Fa src into -.Fa dst , -appending -.Ql \e0 -characters if +.Fa dst . +If .Fa src is less than .Fa len -characters long, and -.Em not -terminating +characters long, +the remainder of +.Fa dst +is filled with +.Ql \e0 +characters. +Otherwise, .Fa dst -otherwise. +is +.Em not +terminated. .Sh RETURN VALUES The .Fn strcpy |