]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
xcrypt.3: ATTRIBUTES: Note functions that are thread-safe
authorZeng Linggang <zenglg.jy@cn.fujitsu.com>
Wed, 27 May 2015 10:13:04 +0000 (18:13 +0800)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 12 Jun 2015 19:13:47 +0000 (21:13 +0200)
After research, We think passwd2des(), xencrypt() and xdecrypt() are
thread-safe. But, there are not markings of them in glibc document.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/xcrypt.3

index 748bc88db140f6fa79af8511e1f797d7550fe7d4..0b9b419784f99d6c8334000db45fc13b2934eb0d 100644 (file)
@@ -66,6 +66,21 @@ and
 return 1 on success and 0 on error.
 .SH VERSIONS
 These functions are available in glibc since version 2.1.
+.SH ATTRIBUTES
+For an explanation of the terms used in this section, see
+.BR attributes (7).
+.TS
+allbox;
+lbw12 lb lb
+l l l.
+Interface      Attribute       Value
+T{
+.BR passwd2des (),
+.BR xencrypt (),
+.BR xdecrypt ()
+T}     Thread safety   MT-Safe
+.TE
+
 .SH BUGS
 The prototypes are missing from the abovementioned include file.
 .SH SEE ALSO