mirror of https://github.com/mkerrisk/man-pages
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:
parent
7aa848d5bb
commit
7ab7eb48f7
|
@ -120,6 +120,23 @@ set to indicate the cause of the error.
|
||||||
.TP
|
.TP
|
||||||
.B ENOMEM
|
.B ENOMEM
|
||||||
Insufficient memory available to allocate duplicate string.
|
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
|
.SH CONFORMING TO
|
||||||
.\" 4.3BSD-Reno, not (first) 4.3BSD.
|
.\" 4.3BSD-Reno, not (first) 4.3BSD.
|
||||||
.BR strdup ()
|
.BR strdup ()
|
||||||
|
|
Loading…
Reference in New Issue