* [PATCH] regex.3: ATTRIBUTES: Note functions that are thread safe with exceptions
@ 2014-07-28 4:00 Peng Haitao
[not found] ` <1406520014-21207-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Peng Haitao @ 2014-07-28 4:00 UTC (permalink / raw)
To: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w
Cc: carlos-v2tUB8YBRSi3e3T8WW9gsA, qianl.fnst-BthXqXjhjHXQFUHtdCDX3A,
linux-man-u79uwXL29TY76Z2rM5mHXA
The functions regcomp() and regexec() are thread safe with exceptions.
The functions regerror and regfree() are thread safe.
Signed-off-by: Peng Haitao <penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
---
man3/regex.3 | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/man3/regex.3 b/man3/regex.3
index bee47b1..32b6b56 100644
--- a/man3/regex.3
+++ b/man3/regex.3
@@ -301,6 +301,25 @@ The regex routines ran out of memory.
.TP
.B REG_ESUBREG
Invalid back reference to a subexpression.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw20 lb lb
+l l l.
+Interface Attribute Value
+T{
+.BR regcomp (),
+.BR regexec ()
+T} Thread safety MT-Safe locale
+T{
+.BR regerror ()
+T} Thread safety MT-Safe env
+T{
+.BR regfree ()
+T} Thread safety MT-Safe
+.TE
.SH CONFORMING TO
POSIX.1-2001.
.SH SEE ALSO
--
1.9.3
--
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-07-28 10:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-28 4:00 [PATCH] regex.3: ATTRIBUTES: Note functions that are thread safe with exceptions Peng Haitao
[not found] ` <1406520014-21207-1-git-send-email-penght-BthXqXjhjHXQFUHtdCDX3A@public.gmane.org>
2014-07-28 10:26 ` Michael Kerrisk (man-pages)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.