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

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

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

Possibly related (same subject, not in this thread)

On 02/25/2015 08:53 AM, Ma Shimiao wrote:
It's marking matches glibc marking.
Thanks, Ma Shimiao. Applied.

Cheers,

Michael

quoted hunk
Signed-off-by: Ma Shimiao <redacted>
---
 man3/assert.3 | 13 +++++++++++++
 1 file changed, 13 insertions(+)
diff --git a/man3/assert.3 b/man3/assert.3
index d126901..3351cb5 100644
--- a/man3/assert.3
+++ b/man3/assert.3
@@ -56,6 +56,19 @@ The message "assertion failed in file foo.c, function
 do_bar(), line 1287" is of no help at all to a user.
 .SH RETURN VALUE
 No value is returned.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lb lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR assert ()
+T}	Thread safety	MT-Safe
+.TE
+
 .SH CONFORMING TO
 POSIX.1-2001, C89, C99.
 In C89,

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