mirror of https://github.com/mkerrisk/man-pages
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:
parent
1d94efa5ad
commit
4fc2f6479b
|
@ -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 ()
|
||||
|
|
Loading…
Reference in New Issue