Date: Wed, 6 Jun 2018 21:32:49 +0000 (UTC) From: Conrad Meyer <cem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334738 - head/lib/libc/string Message-ID: <201806062132.w56LWnor056857@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806062132.w56LWnor056857>