summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-08-01 00:04:47 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-08-01 00:04:47 +0000
commit20b5c334cffb448b942ffb22c46eb8376cb08572 (patch)
tree1997fa14f698748ae5674c293e0fbe5a0db7536a /lib
parente8a8e97c3abc8e83882450b4eaeaacd42ac5e9c2 (diff)
libc string functions were not ported from pwb to v7
https://minnie.tuhs.org/pipermail/tuhs/2017-August/011807.html ok schwarze@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/string/strcat.38
-rw-r--r--lib/libc/string/strcmp.38
-rw-r--r--lib/libc/string/strcpy.38
3 files changed, 9 insertions, 15 deletions
diff --git a/lib/libc/string/strcat.3 b/lib/libc/string/strcat.3
index 76032c8e8f3..68da4ed4a55 100644
--- a/lib/libc/string/strcat.3
+++ b/lib/libc/string/strcat.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strcat.3,v 1.18 2016/05/26 21:30:13 millert Exp $
+.\" $OpenBSD: strcat.3,v 1.19 2022/08/01 00:04:46 jsg Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 26 2016 $
+.Dd $Mdocdate: August 1 2022 $
.Dt STRCAT 3
.Os
.Sh NAME
@@ -73,6 +73,4 @@ function conforms to
.Sh HISTORY
The
.Fn strcat
-function first appeared in the Programmer's Workbench (PWB/UNIX)
-and was ported to
-.At v7 .
+function first appeared outside of Bell Labs in PWB/UNIX 1.0.
diff --git a/lib/libc/string/strcmp.3 b/lib/libc/string/strcmp.3
index 63dc7fed2d0..4ef341e53e0 100644
--- a/lib/libc/string/strcmp.3
+++ b/lib/libc/string/strcmp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strcmp.3,v 1.14 2013/07/17 05:42:11 schwarze Exp $
+.\" $OpenBSD: strcmp.3,v 1.15 2022/08/01 00:04:46 jsg Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 17 2013 $
+.Dd $Mdocdate: August 1 2022 $
.Dt STRCMP 3
.Os
.Sh NAME
@@ -89,9 +89,7 @@ functions conform to
.Sh HISTORY
The
.Fn strcmp
-function first appeared in the Programmer's Workbench (PWB/UNIX)
-and was ported to
-.At v7 ;
+function first appeared outside of Bell Labs in PWB/UNIX 1.0.
.Fn strncmp
first appeared in
.At v7 .
diff --git a/lib/libc/string/strcpy.3 b/lib/libc/string/strcpy.3
index 7174f7c963c..4bf690ba76d 100644
--- a/lib/libc/string/strcpy.3
+++ b/lib/libc/string/strcpy.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strcpy.3,v 1.21 2014/04/19 11:30:40 deraadt Exp $
+.\" $OpenBSD: strcpy.3,v 1.22 2022/08/01 00:04:46 jsg Exp $
.\"
.\" Copyright (c) 1990, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 19 2014 $
+.Dd $Mdocdate: August 1 2022 $
.Dt STRCPY 3
.Os
.Sh NAME
@@ -79,6 +79,4 @@ function conforms to
.Sh HISTORY
The
.Fn strcpy
-function first appeared in the Programmer's Workbench (PWB/UNIX)
-and was ported to
-.At v7 .
+function first appeared outside of Bell Labs in PWB/UNIX 1.0.