summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-05-19 06:32:44 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-05-19 06:32:44 +0000
commit44d2ccb7f573e8d9ceff2c10422122357ebde9b1 (patch)
tree24c017c8e0877edce6b2ecced1ccdc5fd51fd180 /lib/libc/string
parent64b96cb04dbe88ac3c18b7fd57f1a0b522795cd2 (diff)
tweak previous;
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strdup.319
-rw-r--r--lib/libc/string/strlen.35
2 files changed, 11 insertions, 13 deletions
diff --git a/lib/libc/string/strdup.3 b/lib/libc/string/strdup.3
index 05dcb794f04..42a578b913c 100644
--- a/lib/libc/string/strdup.3
+++ b/lib/libc/string/strdup.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strdup.3,v 1.16 2010/05/18 22:24:55 tedu Exp $
+.\" $OpenBSD: strdup.3,v 1.17 2010/05/19 06:32:43 jmc Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)strdup.3 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: May 18 2010 $
+.Dd $Mdocdate: May 19 2010 $
.Dt STRDUP 3
.Os
.Sh NAME
@@ -91,20 +91,19 @@ for any of the errors specified for the library function
.Xr strcpy 3 ,
.Xr strlcpy 3 ,
.Xr strlen 3
+.Sh STANDARDS
+The
+.Fn strdup
+and
+.Fn strndup
+functions conform to
+.St -p1003.1-2008 .
.Sh HISTORY
The
.Fn strdup
function first appeared in
.Bx 4.4 .
-.Pp
The
.Fn strndup
function first appeared in
.Ox 4.8 .
-.Sh STANDARDS
-The
-.Fn strdup
-and
-.Fn strndup
-functions conform to
-.St -p1003.1-2008 .
diff --git a/lib/libc/string/strlen.3 b/lib/libc/string/strlen.3
index 3b5f9a10c12..e1fde3e6793 100644
--- a/lib/libc/string/strlen.3
+++ b/lib/libc/string/strlen.3
@@ -29,9 +29,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: strlen.3,v 1.7 2010/05/18 22:24:55 tedu Exp $
+.\" $OpenBSD: strlen.3,v 1.8 2010/05/19 06:32:43 jmc Exp $
.\"
-.Dd $Mdocdate: May 18 2010 $
+.Dd $Mdocdate: May 19 2010 $
.Dt STRLEN 3
.Os
.Sh NAME
@@ -63,7 +63,6 @@ function will never attempt to address more than
.Fa maxlen
characters, making it suitable for use with character arrays that are
not guaranteed to be NUL-terminated.
-.Pp
.Sh RETURN VALUES
The
.Fn strlen