summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsg <>2022-08-01 00:04:46 +0000
committerjsg <>2022-08-01 00:04:46 +0000
commit6aca6212e7aa84093341438350fdac8613c8b21d (patch)
tree9cc8f4a820dfa0167839d8476cffb738e592a7a0
parentb701e887dd385f1cf4ab2bdeb6fcf0de54f9c94c (diff)
downloadopenbsd-6aca6212e7aa84093341438350fdac8613c8b21d.tar.gz
openbsd-6aca6212e7aa84093341438350fdac8613c8b21d.tar.bz2
openbsd-6aca6212e7aa84093341438350fdac8613c8b21d.zip
libc string functions were not ported from pwb to v7
https://minnie.tuhs.org/pipermail/tuhs/2017-August/011807.html ok schwarze@
-rw-r--r--src/lib/libc/string/strcat.38
-rw-r--r--src/lib/libc/string/strcmp.38
-rw-r--r--src/lib/libc/string/strcpy.38
3 files changed, 9 insertions, 15 deletions
diff --git a/src/lib/libc/string/strcat.3 b/src/lib/libc/string/strcat.3
index 76032c8e8f..68da4ed4a5 100644
--- a/src/lib/libc/string/strcat.3
+++ b/src/lib/libc/string/strcat.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: strcat.3,v 1.18 2016/05/26 21:30:13 millert Exp $ 1.\" $OpenBSD: strcat.3,v 1.19 2022/08/01 00:04:46 jsg Exp $
2.\" 2.\"
3.\" Copyright (c) 1990, 1991 The Regents of the University of California. 3.\" Copyright (c) 1990, 1991 The Regents of the University of California.
4.\" All rights reserved. 4.\" All rights reserved.
@@ -31,7 +31,7 @@
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE. 32.\" SUCH DAMAGE.
33.\" 33.\"
34.Dd $Mdocdate: May 26 2016 $ 34.Dd $Mdocdate: August 1 2022 $
35.Dt STRCAT 3 35.Dt STRCAT 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -73,6 +73,4 @@ function conforms to
73.Sh HISTORY 73.Sh HISTORY
74The 74The
75.Fn strcat 75.Fn strcat
76function first appeared in the Programmer's Workbench (PWB/UNIX) 76function first appeared outside of Bell Labs in PWB/UNIX 1.0.
77and was ported to
78.At v7 .
diff --git a/src/lib/libc/string/strcmp.3 b/src/lib/libc/string/strcmp.3
index 63dc7fed2d..4ef341e53e 100644
--- a/src/lib/libc/string/strcmp.3
+++ b/src/lib/libc/string/strcmp.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: strcmp.3,v 1.14 2013/07/17 05:42:11 schwarze Exp $ 1.\" $OpenBSD: strcmp.3,v 1.15 2022/08/01 00:04:46 jsg Exp $
2.\" 2.\"
3.\" Copyright (c) 1990, 1991 The Regents of the University of California. 3.\" Copyright (c) 1990, 1991 The Regents of the University of California.
4.\" All rights reserved. 4.\" All rights reserved.
@@ -31,7 +31,7 @@
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE. 32.\" SUCH DAMAGE.
33.\" 33.\"
34.Dd $Mdocdate: July 17 2013 $ 34.Dd $Mdocdate: August 1 2022 $
35.Dt STRCMP 3 35.Dt STRCMP 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -89,9 +89,7 @@ functions conform to
89.Sh HISTORY 89.Sh HISTORY
90The 90The
91.Fn strcmp 91.Fn strcmp
92function first appeared in the Programmer's Workbench (PWB/UNIX) 92function first appeared outside of Bell Labs in PWB/UNIX 1.0.
93and was ported to
94.At v7 ;
95.Fn strncmp 93.Fn strncmp
96first appeared in 94first appeared in
97.At v7 . 95.At v7 .
diff --git a/src/lib/libc/string/strcpy.3 b/src/lib/libc/string/strcpy.3
index 7174f7c963..4bf690ba76 100644
--- a/src/lib/libc/string/strcpy.3
+++ b/src/lib/libc/string/strcpy.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: strcpy.3,v 1.21 2014/04/19 11:30:40 deraadt Exp $ 1.\" $OpenBSD: strcpy.3,v 1.22 2022/08/01 00:04:46 jsg Exp $
2.\" 2.\"
3.\" Copyright (c) 1990, 1991 The Regents of the University of California. 3.\" Copyright (c) 1990, 1991 The Regents of the University of California.
4.\" All rights reserved. 4.\" All rights reserved.
@@ -31,7 +31,7 @@
31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32.\" SUCH DAMAGE. 32.\" SUCH DAMAGE.
33.\" 33.\"
34.Dd $Mdocdate: April 19 2014 $ 34.Dd $Mdocdate: August 1 2022 $
35.Dt STRCPY 3 35.Dt STRCPY 3
36.Os 36.Os
37.Sh NAME 37.Sh NAME
@@ -79,6 +79,4 @@ function conforms to
79.Sh HISTORY 79.Sh HISTORY
80The 80The
81.Fn strcpy 81.Fn strcpy
82function first appeared in the Programmer's Workbench (PWB/UNIX) 82function first appeared outside of Bell Labs in PWB/UNIX 1.0.
83and was ported to
84.At v7 .