aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Haitao <penght@cn.fujitsu.com>2013-05-20 13:36:52 +0800
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-06-19 03:31:02 +0200
commitdc01ee8742be38f23723de25fb5541fbb9616c2a (patch)
tree521b56fe708a3873d515f12a8c8f4eb867bf6e76
parent974afcfe41be1b7470057b767e6b36a8b192131c (diff)
downloadman-pages-dc01ee8742be38f23723de25fb5541fbb9616c2a.tar.gz
re_comp.3: ATTRIBUTES: Note functions that are not thread-safe
The functions re_comp() and re_exec() are not thread safe. Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/re_comp.37
1 files changed, 7 insertions, 0 deletions
diff --git a/man3/re_comp.3 b/man3/re_comp.3
index b1c3295cdd..ca4ef64241 100644
--- a/man3/re_comp.3
+++ b/man3/re_comp.3
@@ -63,6 +63,13 @@ otherwise it returns a pointer to an appropriate error message.
.BR re_exec ()
returns 1 for a successful match, zero for failure.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR re_comp ()
+and
+.BR re_exec ()
+functions are not thread-safe.
.SH CONFORMING TO
4.3BSD.
.SH NOTES