summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorjdolecek <jdolecek@NetBSD.org>2001-01-25 22:39:19 +0000
committerjdolecek <jdolecek@NetBSD.org>2001-01-25 22:39:19 +0000
commitf1e8bc8da83e9fb473f7565bed91f3f8ca0b87a8 (patch)
tree2edc5f489e684d4804ee5e9a9c6f8ef785421c42 /lib/libc/string
parentd2ace86ad7ae7ef3d4eaafc703acd0e1b170822a (diff)
remove bogus comment from EXAMPLE section
Add HISTORY section, mentioning strlcpy()/strlcat() first appeared in OpenBSD 2.4 and when this came to NetBSD and FreeBSD
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strlcpy.313
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/libc/string/strlcpy.3 b/lib/libc/string/strlcpy.3
index 7eb7626459c..6d9a041682e 100644
--- a/lib/libc/string/strlcpy.3
+++ b/lib/libc/string/strlcpy.3
@@ -1,4 +1,4 @@
-.\" $NetBSD: strlcpy.3,v 1.3 2000/11/24 16:19:05 itojun Exp $
+.\" $NetBSD: strlcpy.3,v 1.4 2001/01/25 22:39:19 jdolecek Exp $
.\" from OpenBSD: strlcpy.3,v 1.11 2000/11/16 23:27:41 angelos Exp
.\"
.\" Copyright (c) 1998, 2000 Todd C. Miller <Todd.Miller@courtesan.com>
@@ -163,8 +163,17 @@ defeat the whole purpose of
.Fn strlcpy
and
.Fn strlcat .
-As a matter of fact, the first version of this manual page got it wrong.
.Sh SEE ALSO
.Xr snprintf 3 ,
.Xr strncat 3 ,
.Xr strncpy 3
+.Sh HISTORY
+.Fn strlcpy
+and
+.Fn strlcat
+first appeared in
+.Ox 2.4 ,
+then in
+.Nx 1.4.3
+and
+.Fx 3.3.0 .