diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-02-26 22:14:19 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-02-26 22:14:19 +0000 |
commit | d1a77ae76f4de813093a3ede5d8d2a5a8000afdb (patch) | |
tree | 271ed5d74b8dd53923f6dcb72f1398004dee4259 /lib | |
parent | eb3588c7b64f9eaf9e4af1ab727930873116f1fa (diff) | |
download | FreeBSD-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')
-rw-r--r-- | lib/libc/string/strlcpy.3 | 6 |
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 |