Thread (1 message) 1 message, 1 author, 2015-02-11

Re: [PATCH] backtrace.3: ATTRIBUTES: Note function that is thread-safe

From: Michael Kerrisk (man-pages) <hidden>
Date: 2015-02-11 07:13:10

On 02/11/2015 03:36 AM, Ma Shimiao wrote:
The markings match glibc markings.
Thanks, Ma Shimiao. Applied.

Cheers,

Michael

quoted hunk
Signed-off-by: Ma Shimiao <redacted>
---
 man3/backtrace.3 | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
diff --git a/man3/backtrace.3 b/man3/backtrace.3
index 1b21794..7018f12 100644
--- a/man3/backtrace.3
+++ b/man3/backtrace.3
@@ -140,6 +140,22 @@ on error, NULL is returned.
 and
 .BR backtrace_symbols_fd ()
 are provided in glibc since version 2.1.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw22 lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR backtrace (),
+.br
+.BR backtrace_symbols (),
+.br
+.BR backtrace_symbols_fd ()
+T}	Thread safety	MT-Safe
+.TE
 .SH CONFORMING TO
 These functions are GNU extensions.
 .SH NOTES

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
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