svn commit: r334738 - head/lib/libc/string
Conrad Meyer
cem at FreeBSD.org
Wed Jun 6 21:32:50 UTC 2018
Author: cem
Date: Wed Jun 6 21:32:49 2018
New Revision: 334738
URL: https://svnweb.freebsd.org/changeset/base/334738
Log:
strdup.3: Document standardization in POSIX
Sponsored by: Dell EMC Isilon
Modified:
head/lib/libc/string/strdup.3
Modified: head/lib/libc/string/strdup.3
==============================================================================
--- head/lib/libc/string/strdup.3 Wed Jun 6 21:23:42 2018 (r334737)
+++ head/lib/libc/string/strdup.3 Wed Jun 6 21:32:49 2018 (r334738)
@@ -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
More information about the svn-src-all
mailing list