Thread (1 message) 1 message, 1 author, 2014-08-15

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

From: Michael Kerrisk (man-pages) <hidden>
Date: 2014-08-15 18:27:00

Possibly related (same subject, not in this thread)

Thanks, Haitao. Applied (in my local branch).

Cheers,

Michael


On 08/04/2014 09:30 AM, Peng Haitao wrote:
quoted hunk
The function strfry() is thread safe.

Signed-off-by: Peng Haitao <redacted>
---
 man3/strfry.3 | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/man3/strfry.3 b/man3/strfry.3
index 2d69563..845d8da 100644
--- a/man3/strfry.3
+++ b/man3/strfry.3
@@ -54,6 +54,18 @@ The
 .BR strfry ()
 functions returns a pointer to the randomized
 string.
+.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 strfry ()
+T}	Thread safety	MT-Safe
+.TE
 .SH CONFORMING TO
 The
 .BR strfry ()

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