aboutsummaryrefslogtreecommitdiffstats
path: root/man3/regex.3
diff options
context:
space:
mode:
authorPeng Haitao <penght@cn.fujitsu.com>2014-07-28 12:00:14 +0800
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-02-27 13:57:21 +0100
commit285ff586295ca2d2e2f6bfaaa5bc4100055dc1df (patch)
treed120a9d59659e2b21832e72916fced15dcf594d2 /man3/regex.3
parentb73c9bd501c0127b0c8bc51ee788459655cccfe3 (diff)
downloadman-pages-285ff586295ca2d2e2f6bfaaa5bc4100055dc1df.tar.gz
regex.3: ATTRIBUTES: Note functions that are thread safe with exceptions
The functions regcomp() and regexec() are thread safe with exceptions. The functions regerror() and regfree() are thread safe. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/regex.3')
-rw-r--r--man3/regex.319
1 files changed, 19 insertions, 0 deletions
diff --git a/man3/regex.3 b/man3/regex.3
index bee47b1811..32b6b567fd 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