summaryrefslogtreecommitdiff
path: root/src/lib/libc/string/strdup.3
diff options
context:
space:
mode:
authorjmc <>2010-05-19 06:32:43 +0000
committerjmc <>2010-05-19 06:32:43 +0000
commit6bcddc9ccd1f9f77ede92dbc75898b9ffc99c2bb (patch)
tree109dbb38ac7584e0056d328c16db14dfa817f40c /src/lib/libc/string/strdup.3
parent84e56ad2cf3f4b33089396bba6483888d54d99a3 (diff)
downloadopenbsd-6bcddc9ccd1f9f77ede92dbc75898b9ffc99c2bb.tar.gz
openbsd-6bcddc9ccd1f9f77ede92dbc75898b9ffc99c2bb.tar.bz2
openbsd-6bcddc9ccd1f9f77ede92dbc75898b9ffc99c2bb.zip
tweak previous;
Diffstat (limited to 'src/lib/libc/string/strdup.3')
-rw-r--r--src/lib/libc/string/strdup.319
1 files changed, 9 insertions, 10 deletions
diff --git a/src/lib/libc/string/strdup.3 b/src/lib/libc/string/strdup.3
index 05dcb794f0..42a578b913 100644
--- a/src/lib/libc/string/strdup.3
+++ b/src/lib/libc/string/strdup.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: strdup.3,v 1.16 2010/05/18 22:24:55 tedu Exp $ 1.\" $OpenBSD: strdup.3,v 1.17 2010/05/19 06:32:43 jmc Exp $
2.\" 2.\"
3.\" Copyright (c) 1990, 1991, 1993 3.\" Copyright (c) 1990, 1991, 1993
4.\" The Regents of the University of California. All rights reserved. 4.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
29.\" 29.\"
30.\" @(#)strdup.3 8.1 (Berkeley) 6/9/93 30.\" @(#)strdup.3 8.1 (Berkeley) 6/9/93
31.\" 31.\"
32.Dd $Mdocdate: May 18 2010 $ 32.Dd $Mdocdate: May 19 2010 $
33.Dt STRDUP 3 33.Dt STRDUP 3
34.Os 34.Os
35.Sh NAME 35.Sh NAME
@@ -91,20 +91,19 @@ for any of the errors specified for the library function
91.Xr strcpy 3 , 91.Xr strcpy 3 ,
92.Xr strlcpy 3 , 92.Xr strlcpy 3 ,
93.Xr strlen 3 93.Xr strlen 3
94.Sh STANDARDS
95The
96.Fn strdup
97and
98.Fn strndup
99functions conform to
100.St -p1003.1-2008 .
94.Sh HISTORY 101.Sh HISTORY
95The 102The
96.Fn strdup 103.Fn strdup
97function first appeared in 104function first appeared in
98.Bx 4.4 . 105.Bx 4.4 .
99.Pp
100The 106The
101.Fn strndup 107.Fn strndup
102function first appeared in 108function first appeared in
103.Ox 4.8 . 109.Ox 4.8 .
104.Sh STANDARDS
105The
106.Fn strdup
107and
108.Fn strndup
109functions conform to
110.St -p1003.1-2008 .