summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-07-31 14:50:33 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-07-31 14:50:33 +0000
commite8a8e97c3abc8e83882450b4eaeaacd42ac5e9c2 (patch)
tree989491d49ac1c6753bcd9bd52d5ccac2deba134a /lib
parent03b34a6eba864b5474b2b543351e5a9c189158ba (diff)
strlen was in v6 libc (s5/perror.c) but not documented till v7
ok schwarze@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/string/strlen.39
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/string/strlen.3 b/lib/libc/string/strlen.3
index 81ce52e5095..18569d58b98 100644
--- a/lib/libc/string/strlen.3
+++ b/lib/libc/string/strlen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strlen.3,v 1.13 2014/12/09 14:41:00 jmc Exp $
+.\" $OpenBSD: strlen.3,v 1.14 2022/07/31 14:50:32 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: December 9 2014 $
+.Dd $Mdocdate: July 31 2022 $
.Dt STRLEN 3
.Os
.Sh NAME
@@ -94,9 +94,8 @@ functions conform to
.Sh HISTORY
The
.Fn strlen
-function first appeared in the Programmer's Workbench (PWB/UNIX)
-and was ported to
-.At v7 .
+function first appeared in
+.At v6 .
The
.Fn strnlen
function appeared in glibc 2.0