strdup.3: ATTRIBUTES: Note functions that are thread-safe

The marking matches glibc marking.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Ma Shimiao 2015-03-03 17:32:25 +08:00 committed by Michael Kerrisk
parent 7aa848d5bb
commit 7ab7eb48f7
1 changed files with 17 additions and 0 deletions

View File

@ -120,6 +120,23 @@ set to indicate the cause of the error.
.TP
.B ENOMEM
Insufficient memory available to allocate duplicate string.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lbw31 lb lb
l l l.
Interface Attribute Value
T{
.BR strdup (),
.BR strndup (),
.BR strdupa (),
.br
.BR strndupa ()
T} Thread safety MT-Safe
.TE
.SH CONFORMING TO
.\" 4.3BSD-Reno, not (first) 4.3BSD.
.BR strdup ()