From ffc534f75b5b8adffc1081176b0ecce022c35d2c Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Fri, 26 Feb 2016 22:14:19 +0000 Subject: [PATCH] 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 --- lib/libc/string/strlcpy.3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/string/strlcpy.3 b/lib/libc/string/strlcpy.3 index 76bf6b72ab5e..30a758840ce7 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