From cc302238f3122848e80799455706bb7e9884dcd4 Mon Sep 17 00:00:00 2001 From: jsg Date: Sun, 31 Jul 2022 14:50:32 +0000 Subject: [PATCH] strlen was in v6 libc (s5/perror.c) but not documented till v7 ok schwarze@ --- lib/libc/string/strlen.3 | 9 ++++----- 1 file 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 -- 2.20.1