wcwidth.3: Reformat 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-06-25 10:31:35 +08:00 committed by Michael Kerrisk
parent 09c4d4dd5f
commit d3f9c01072
1 changed files with 10 additions and 6 deletions

View File

@ -43,13 +43,17 @@ function returns the number of
column positions for
.IR c .
.SH ATTRIBUTES
.SS Multithreading (see pthreads(7))
The
For an explanation of the terms used in this section, see
.BR attributes (7).
.TS
allbox;
lb lb lb
l l l.
Interface Attribute Value
T{
.BR wcwidth ()
function is thread-safe with exceptions.
It can be safely used in multithreaded applications, as long as
.BR setlocale (3)
is not called to change the locale during its execution.
T} Thread safety MT-Safe locale
.TE
.SH CONFORMING TO
POSIX.1-2001.