summaryrefslogtreecommitdiffstats
path: root/man3/strdup.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/strdup.3')
-rw-r--r--man3/strdup.331
1 files changed, 21 insertions, 10 deletions
diff --git a/man3/strdup.3 b/man3/strdup.3
index efeb5921b..e78721949 100644
--- a/man3/strdup.3
+++ b/man3/strdup.3
@@ -9,7 +9,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 2023-02-05 "Linux man-pages 6.03"
+.TH strdup 3 2023-07-20 "Linux man-pages 6.05.01"
.SH NAME
strdup, strndup, strdupa, strndupa \- duplicate a string
.SH LIBRARY
@@ -98,33 +98,44 @@ Insufficient memory available to allocate duplicate string.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
-.ad l
-.nh
.TS
allbox;
lbx lb lb
l l l.
Interface Attribute Value
T{
+.na
+.nh
.BR strdup (),
.BR strndup (),
.BR strdupa (),
.BR strndupa ()
T} Thread safety MT-Safe
.TE
-.hy
-.ad
.sp 1
.SH STANDARDS
-.\" 4.3BSD-Reno, not (first) 4.3BSD.
+.TP
.BR strdup ()
-conforms to SVr4, 4.3BSD, POSIX.1-2001.
+.TQ
.BR strndup ()
-conforms to POSIX.1-2008.
+POSIX.1-2008.
+.TP
.BR strdupa ()
-and
+.TQ
+.BR strndupa ()
+GNU.
+.SH HISTORY
+.TP
+.BR strdup ()
+SVr4, 4.3BSD-Reno, POSIX.1-2001.
+.TP
+.BR strndup ()
+POSIX.1-2008.
+.TP
+.BR strdupa ()
+.TQ
.BR strndupa ()
-are GNU extensions.
+GNU.
.SH SEE ALSO
.BR alloca (3),
.BR calloc (3),