The functions re_comp() and re_exec() are not thread safe. Signed-off-by: Peng Haitao <penght@xxxxxxxxxxxxxx> --- man3/re_comp.3 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/man3/re_comp.3 b/man3/re_comp.3 index b1c3295..ca4ef64 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 -- 1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html