diff options
author | jsg <> | 2022-07-31 14:50:32 +0000 |
---|---|---|
committer | jsg <> | 2022-07-31 14:50:32 +0000 |
commit | b701e887dd385f1cf4ab2bdeb6fcf0de54f9c94c (patch) | |
tree | 3548dc8a4446b6448498f948b6e168054a71c98c /src | |
parent | 5b817ae3fff67a82c7bb1cbade677f78d07c2fb3 (diff) | |
download | openbsd-b701e887dd385f1cf4ab2bdeb6fcf0de54f9c94c.tar.gz openbsd-b701e887dd385f1cf4ab2bdeb6fcf0de54f9c94c.tar.bz2 openbsd-b701e887dd385f1cf4ab2bdeb6fcf0de54f9c94c.zip |
strlen was in v6 libc (s5/perror.c) but not documented till v7
ok schwarze@
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libc/string/strlen.3 | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libc/string/strlen.3 b/src/lib/libc/string/strlen.3 index 81ce52e509..18569d58b9 100644 --- a/src/lib/libc/string/strlen.3 +++ b/src/lib/libc/string/strlen.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: strlen.3,v 1.13 2014/12/09 14:41:00 jmc Exp $ | 1 | .\" $OpenBSD: strlen.3,v 1.14 2022/07/31 14:50:32 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: December 9 2014 $ | 34 | .Dd $Mdocdate: July 31 2022 $ |
35 | .Dt STRLEN 3 | 35 | .Dt STRLEN 3 |
36 | .Os | 36 | .Os |
37 | .Sh NAME | 37 | .Sh NAME |
@@ -94,9 +94,8 @@ functions conform to | |||
94 | .Sh HISTORY | 94 | .Sh HISTORY |
95 | The | 95 | The |
96 | .Fn strlen | 96 | .Fn strlen |
97 | function first appeared in the Programmer's Workbench (PWB/UNIX) | 97 | function first appeared in |
98 | and was ported to | 98 | .At v6 . |
99 | .At v7 . | ||
100 | The | 99 | The |
101 | .Fn strnlen | 100 | .Fn strnlen |
102 | function appeared in glibc 2.0 | 101 | function appeared in glibc 2.0 |