strdup.3: CONFORMING TO: strndup() is in POSIX.1-2008

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2011-10-01 06:21:22 +02:00
parent f4d305c99e
commit 82f4ea0183
1 changed files with 4 additions and 3 deletions

View File

@ -26,7 +26,7 @@
.\" 386BSD man pages
.\" Modified Sun Jul 25 10:41:34 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified Wed Oct 17 01:12:26 2001 by John Levon <moz@compsoc.man.ac.uk>
.TH STRDUP 3 2010-09-26 "GNU" "Linux Programmer's Manual"
.TH STRDUP 3 2011-10-01 "GNU" "Linux Programmer's Manual"
.SH NAME
strdup, strndup, strdupa, strndupa \- duplicate a string
.SH SYNOPSIS
@ -112,8 +112,9 @@ Insufficient memory available to allocate duplicate string.
.\" 4.3BSD-Reno, not (first) 4.3BSD.
.BR strdup ()
conforms to SVr4, 4.3BSD, POSIX.1-2001.
.BR strndup (),
.BR strdupa (),
.BR strndup ()
conforms to POSIX.1-2008.
.BR strdupa ()
and
.BR strndupa ()
are GNU extensions.