summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2018-06-06 21:32:49 +0000
committerConrad Meyer <cem@FreeBSD.org>2018-06-06 21:32:49 +0000
commit9316908f481c5d3e6474d31e013f238b931c2972 (patch)
tree6a4c5a16fc9beee2f22b24aeb6ce96fdbca1d264 /lib/libc
parentb7e471c2b26889d6e533b047980018c5c905cb6c (diff)
downloadsrc-test2-9316908f481c5d3e6474d31e013f238b931c2972.tar.gz
src-test2-9316908f481c5d3e6474d31e013f238b931c2972.zip
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/string/strdup.311
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/libc/string/strdup.3 b/lib/libc/string/strdup.3
index f9ed5c208362..80530be36962 100644
--- a/lib/libc/string/strdup.3
+++ b/lib/libc/string/strdup.3
@@ -28,7 +28,7 @@
.\" @(#)strdup.3 8.1 (Berkeley) 6/9/93
.\" $FreeBSD$
.\"
-.Dd December 5, 2008
+.Dd June 6, 2018
.Dt STRDUP 3
.Os
.Sh NAME
@@ -73,6 +73,15 @@ terminating the copied string.
.Xr free 3 ,
.Xr malloc 3 ,
.Xr wcsdup 3
+.Sh STANDARDS
+The
+.Fn strdup
+function is specified by
+.St -p1003.1-2001 .
+The
+.Fn strndup
+function is specified by
+.St -p1003.1-2008 .
.Sh HISTORY
The
.Fn strdup