[PATCH] asprintf.3: ATTRIBUTES: Note functions those are thread-safe

DORMANTno replies

From: Zeng Linggang <hidden>
Date: 2015-03-25 08:14:26
Subsystem: the rest · Maintainer: Linus Torvalds

The markings match glibc markings.

Signed-off-by: Zeng Linggang <redacted>
Signed-off-by: Ma Shimiao <redacted>
---
 man3/asprintf.3 | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
diff --git a/man3/asprintf.3 b/man3/asprintf.3
index f8f9a9b..981126c 100644
--- a/man3/asprintf.3
+++ b/man3/asprintf.3
@@ -58,6 +58,20 @@ If memory allocation wasn't possible, or some other error occurs,
 these functions will return \-1, and the contents of
 .I strp
 is undefined.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw23 lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR asprintf (),
+.BR vasprintf ()
+T}	Thread safety	MT-Safe locale
+.TE
+
 .SH CONFORMING TO
 These functions are GNU extensions, not in C or POSIX.
 They are also available under *BSD.
-- 
1.9.3

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help