summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-04-07 18:53:58 +0000
committerderaadt <deraadt@openbsd.org>2003-04-07 18:53:58 +0000
commitf861ae8dcbebbef04e461808abe41fa4c2f72064 (patch)
tree208f6ae5b74da4f87b4982916a3480c3fae58d51 /lib/libc/string
parentChange wd1 and wd2 from pointers to arrays. This removes the need (diff)
downloadwireguard-openbsd-f861ae8dcbebbef04e461808abe41fa4c2f72064.tar.xz
wireguard-openbsd-f861ae8dcbebbef04e461808abe41fa4c2f72064.zip
Xr to strlcpy and strlcat more; ok millert
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/bcopy.33
-rw-r--r--lib/libc/string/memccpy.35
-rw-r--r--lib/libc/string/memcpy.35
-rw-r--r--lib/libc/string/memmove.35
-rw-r--r--lib/libc/string/strdup.33
5 files changed, 13 insertions, 8 deletions
diff --git a/lib/libc/string/bcopy.3 b/lib/libc/string/bcopy.3
index b290418f4a3..12bd248abf0 100644
--- a/lib/libc/string/bcopy.3
+++ b/lib/libc/string/bcopy.3
@@ -32,7 +32,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: bcopy.3,v 1.5 2000/04/21 15:24:19 aaron Exp $
+.\" $OpenBSD: bcopy.3,v 1.6 2003/04/07 18:53:58 deraadt Exp $
.\"
.Dd April 19, 1991
.Dt BCOPY 3
@@ -62,6 +62,7 @@ is zero, no bytes are copied.
.Xr memcpy 3 ,
.Xr memmove 3 ,
.Xr strcpy 3 ,
+.Xr strlcpy 3 ,
.Xr strncpy 3
.Sh HISTORY
A
diff --git a/lib/libc/string/memccpy.3 b/lib/libc/string/memccpy.3
index feedeff3a64..007fa44274a 100644
--- a/lib/libc/string/memccpy.3
+++ b/lib/libc/string/memccpy.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: memccpy.3,v 1.6 2000/04/21 15:24:19 aaron Exp $
+.\" $OpenBSD: memccpy.3,v 1.7 2003/04/07 18:53:58 deraadt Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -68,7 +68,8 @@ bytes are copied, and a null pointer is returned.
.Xr bcopy 3 ,
.Xr memcpy 3 ,
.Xr memmove 3 ,
-.Xr strcpy 3
+.Xr strcpy 3 ,
+.Xr strlcpy 3
.Sh HISTORY
The
.Fn memccpy
diff --git a/lib/libc/string/memcpy.3 b/lib/libc/string/memcpy.3
index 030eadff20c..46168a103b4 100644
--- a/lib/libc/string/memcpy.3
+++ b/lib/libc/string/memcpy.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: memcpy.3,v 1.3 2000/04/21 15:24:19 aaron Exp $
+.\" $OpenBSD: memcpy.3,v 1.4 2003/04/07 18:53:58 deraadt Exp $
.\"
.Dd June 29, 1991
.Dt MEMCPY 3
@@ -63,7 +63,8 @@ function returns the original value of
.Xr bcopy 3 ,
.Xr memccpy 3 ,
.Xr memmove 3 ,
-.Xr strcpy 3
+.Xr strcpy 3 ,
+.Xr strlcpy 3
.Sh STANDARDS
The
.Fn memcpy
diff --git a/lib/libc/string/memmove.3 b/lib/libc/string/memmove.3
index 026dab0f9fb..41d42f78e08 100644
--- a/lib/libc/string/memmove.3
+++ b/lib/libc/string/memmove.3
@@ -33,7 +33,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: memmove.3,v 1.3 2000/04/21 15:24:19 aaron Exp $
+.\" $OpenBSD: memmove.3,v 1.4 2003/04/07 18:53:58 deraadt Exp $
.\"
.Dd June 29, 1991
.Dt MEMMOVE 3
@@ -65,7 +65,8 @@ function returns the original value of
.Xr bcopy 3 ,
.Xr memccpy 3 ,
.Xr memcpy 3 ,
-.Xr strcpy 3
+.Xr strcpy 3 ,
+.Xr strlcpy 3
.Sh STANDARDS
The
.Fn memmove
diff --git a/lib/libc/string/strdup.3 b/lib/libc/string/strdup.3
index 9c154c7d70f..a0dc705f662 100644
--- a/lib/libc/string/strdup.3
+++ b/lib/libc/string/strdup.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strdup.3,v 1.10 2000/04/21 15:32:15 aaron Exp $
+.\" $OpenBSD: strdup.3,v 1.11 2003/04/07 18:53:58 deraadt Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -79,6 +79,7 @@ for any of the errors specified for the library function
.Xr free 3 ,
.Xr malloc 3 ,
.Xr strcpy 3 ,
+.Xr strlcpy 3 ,
.Xr strlen 3
.Sh HISTORY
The