encrypt.3: ATTRIBUTES: Note functions that are not thread-safe

The functions encrypt() and setkey() are not thread safe.

Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com
This commit is contained in:
Peng Haitao 2013-05-06 16:03:25 +08:00 committed by Michael Kerrisk
parent 1d94efa5ad
commit 4fc2f6479b
1 changed files with 13 additions and 0 deletions

View File

@ -121,6 +121,19 @@ On success, it is unchanged.
.B ENOSYS
The function is not provided.
(For example because of former USA export restrictions.)
.SH ATTRIBUTES
.SS Multithreading (see pthreads(7))
The functions
.BR encrypt ()
and
.BR setkey ()
are not thread-safe.
.LP
The functions
.BR encrypt_r ()
and
.BR setkey_r ()
are thread-safe.
.SH CONFORMING TO
The functions
.BR encrypt ()