summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strlcpy.3
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-02-26 22:14:19 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-02-26 22:14:19 +0000
commitd1a77ae76f4de813093a3ede5d8d2a5a8000afdb (patch)
tree271ed5d74b8dd53923f6dcb72f1398004dee4259 /lib/libc/string/strlcpy.3
parenteb3588c7b64f9eaf9e4af1ab727930873116f1fa (diff)
downloadFreeBSD-src-d1a77ae76f4de813093a3ede5d8d2a5a8000afdb.zip
FreeBSD-src-d1a77ae76f4de813093a3ede5d8d2a5a8000afdb.tar.gz
Make it clear that the "size" argument is for the dst string.
The rest of the manpage already referenced 'dstsize' but did not rename the variable in the prototype in r257646. MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'lib/libc/string/strlcpy.3')
-rw-r--r--lib/libc/string/strlcpy.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/string/strlcpy.3 b/lib/libc/string/strlcpy.3
index 76bf6b7..30a7588 100644
--- a/lib/libc/string/strlcpy.3
+++ b/lib/libc/string/strlcpy.3
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 4, 2013
+.Dd February 26, 2016
.Dt STRLCPY 3
.Os
.Sh NAME
@@ -39,9 +39,9 @@
.Sh SYNOPSIS
.In string.h
.Ft size_t
-.Fn strlcpy "char * restrict dst" "const char * restrict src" "size_t size"
+.Fn strlcpy "char * restrict dst" "const char * restrict src" "size_t dstsize"
.Ft size_t
-.Fn strlcat "char * restrict dst" "const char * restrict src" "size_t size"
+.Fn strlcat "char * restrict dst" "const char * restrict src" "size_t dstsize"
.Sh DESCRIPTION
The
.Fn strlcpy
OpenPOWER on IntegriCloud