summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strlcpy.3
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>1999-08-10 05:58:58 +0000
committerimp <imp@FreeBSD.org>1999-08-10 05:58:58 +0000
commitbedbde67f9d8aaa2cfc9543034594c777c88681f (patch)
tree824310c2514c6caca9b046c68318fdd421c5e897 /lib/libc/string/strlcpy.3
parentd27613c67e8bb774f79ec9f36cbdd02b14fcee73 (diff)
downloadFreeBSD-src-bedbde67f9d8aaa2cfc9543034594c777c88681f.zip
FreeBSD-src-bedbde67f9d8aaa2cfc9543034594c777c88681f.tar.gz
Use the latest version of these files from OpenBSD.
1) Safty change from casper dik was added to OpenBSD's sources since I grabbed them. milltert@openbsd.org 2) Split up strlcpy to improve efficiency of the common case. milltert@openbsd.org 3) Cleanup of cross references for man page. {alex,aaron}@openbsd.org Pointed out by: deraadt@openbsd.org
Diffstat (limited to 'lib/libc/string/strlcpy.3')
-rw-r--r--lib/libc/string/strlcpy.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/string/strlcpy.3 b/lib/libc/string/strlcpy.3
index 1e46ef2..5202666 100644
--- a/lib/libc/string/strlcpy.3
+++ b/lib/libc/string/strlcpy.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strlcpy.3,v 1.3 1998/11/11 17:12:02 espie Exp $
+.\" $OpenBSD: strlcpy.3,v 1.5 1999/06/06 15:17:32 aaron Exp $
.\"
.\" Copyright (c) 1998 Todd C. Miller <Todd.Miller@courtesan.com>
.\" All rights reserved.
@@ -29,7 +29,7 @@
.Dt STRLCPY 3
.Os
.Sh NAME
-.Nm strlcpy,
+.Nm strlcpy ,
.Nm strlcat
.Nd size-bounded string copying and concatenation
.Sh SYNOPSIS
@@ -143,5 +143,5 @@ and
As a matter of fact, the first version of this manual page got it wrong.
.Sh SEE ALSO
.Xr snprintf 3 ,
-.Xr strncpy 3 ,
-.Xr strncat 3
+.Xr strncat 3 ,
+.Xr strncpy 3
OpenPOWER on IntegriCloud