wctomb.3: ATTRIBUTES: Note function that is not thread-safe

The function wctomb() is 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-09-09 15:13:02 +08:00 committed by Michael Kerrisk
parent 8cb0cd8252
commit 69e8f02f23
1 changed files with 6 additions and 2 deletions

View File

@ -13,7 +13,7 @@
.\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
.\" ISO/IEC 9899:1999
.\"
.TH WCTOMB 3 1999-07-25 "GNU" "Linux Programmer's Manual"
.TH WCTOMB 3 2013-09-09 "GNU" "Linux Programmer's Manual"
.SH NAME
wctomb \- convert a wide character to a multibyte sequence
.SH SYNOPSIS
@ -81,6 +81,11 @@ is NULL, the
.BR wctomb ()
function returns nonzero if the
encoding has nontrivial shift state, or zero if the encoding is stateless.
.SH ATTRIBUTES
.SS Multithreading (see pthreads(7))
The
.BR wctomb ()
function is not thread-safe.
.SH CONFORMING TO
C99.
.SH NOTES
@ -91,7 +96,6 @@ depends on the
category of the
current locale.
.PP
This function is not multithread safe.
The function
.BR wcrtomb (3)
provides