iconv.3: Modify thread-safety information

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 2014-10-14 15:39:57 +08:00 committed by Michael Kerrisk
parent 7236d18fbf
commit a353619d66
2 changed files with 8 additions and 4 deletions

View File

@ -140,7 +140,6 @@ An incomplete multibyte sequence has been encountered in the input.
.SH VERSIONS
This function is available in glibc since version 2.1.
.SH ATTRIBUTES
.SS Multithreading (see pthreads(7))
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
@ -150,8 +149,15 @@ l l l.
Interface Attribute Value
T{
.BR iconv ()
T} Thread safety MT-Safe
T} Thread safety MT-Safe race:cd
.TE
.PP
The
.BR iconv ()
function is MT-Safe, as long as callers arrange for
mutual exclusion on the
.I cd
argument.
.SH CONFORMING TO
POSIX.1-2001.
.SH NOTES

View File

@ -76,8 +76,6 @@ the state is in the initial state.
Using
.BR iconv (3)
modifies the descriptor's conversion state.
(This implies that a conversion
descriptor can not be used in multiple threads simultaneously.)
To bring the state back to the initial state, use
.BR iconv (3)
with NULL as