Thread (1 message) 1 message, 1 author, 2015-03-22

Re: [PATCH] lgamma.3: ATTRIBUTES: Note functions that are thread-safe

From: Michael Kerrisk (man-pages) <hidden>
Date: 2015-03-22 14:51:03

On 03/19/2015 06:23 AM, Ma Shimiao wrote:
The markings match glibc markings.
Hello Ma Shimiao,

Patch applied. 

Thanks,

Michael


quoted hunk
---
 man3/lgamma.3 | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff --git a/man3/lgamma.3 b/man3/lgamma.3
index 26859c1..fabdda0 100644
--- a/man3/lgamma.3
+++ b/man3/lgamma.3
@@ -155,6 +155,28 @@ An overflow floating-point exception
 is raised.
 .\" glibc (as at 2.8) also supports an inexact
 .\" exception for various cases.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw24 lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR lgamma (),
+.BR lgammaf (),
+.br
+.BR lgammal ()
+T}	Thread safety	MT-Safe race:signgam
+T{
+.BR lgamma_r (),
+.BR lgammaf)r (),
+.br
+.BR lgammal_r ()
+T}	Thread safety	MT-Safe
+.TE
+
 .SH CONFORMING TO
 The
 .BR lgamma ()

-- 
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