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

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

From: Michael Kerrisk (man-pages) <hidden>
Date: 2015-03-03 08:21:29

On 03/03/2015 08:52 AM, Ma Shimiao wrote:
The markings match glibc markings.
Thanks, Ma Shimiao. Applied.

Cheers,

Michael

quoted hunk
Signed-off-by: Ma Shimiao <redacted>
---
 man3/hypot.3 | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
diff --git a/man3/hypot.3 b/man3/hypot.3
index 77488cc..5c67c4e 100644
--- a/man3/hypot.3
+++ b/man3/hypot.3
@@ -155,6 +155,21 @@ for this case.
 .\" FIXME . Is it intentional that these functions do not set errno?
 .\" They do set errno for the overflow case.
 .\" Bug raised: http://sources.redhat.com/bugzilla/show_bug.cgi?id=6795
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw27 lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR hypot (),
+.BR hypotf (),
+.BR hypotl ()
+T}	Thread safety	MT-Safe
+.TE
+
 .SH CONFORMING TO
 C99, POSIX.1-2001.
 The variant returning

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