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

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

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

Possibly related (same subject, not in this thread)

On 02/26/2015 01:46 AM, Ma Shimiao wrote:
Signed-off-by: Ma Shimiao <redacted>
Thanks, Ma Shimiao. Applied.

Cheers,

Michael


quoted hunk
---
 man3/argz_add.3 | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
diff --git a/man3/argz_add.3 b/man3/argz_add.3
index 4b2de7c..a571903 100644
--- a/man3/argz_add.3
+++ b/man3/argz_add.3
@@ -195,6 +195,35 @@ All argz functions that do memory allocation have a return type of
 and return 0 for success, and
 .B ENOMEM
 if an allocation error occurs.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw33 lb lb
+l l l.
+Interface	Attribute	Value
+T{
+.BR argz_add (),
+.BR argz_add_sep (),
+.br
+.BR argz_append (),
+.BR argz_count (),
+.br
+.BR argz_create (),
+.BR argz_create_sep (),
+.br
+.BR argz_delete (),
+.BR argz_extract (),
+.br
+.BR argz_insert (),
+.BR argz_next (),
+.br
+.BR argz_replace (),
+.BR argz_stringify ()
+T}	Thread safety	MT-Safe
+.TE
+
 .SH CONFORMING TO
 These functions are a GNU extension.
 Handle with care.

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