OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / wcwidth.3
index 87bfca9..14da26d 100644 (file)
@@ -12,7 +12,7 @@
 .\"   Dinkumware C library reference http://www.dinkumware.com/
 .\"   OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
 .\"
-.TH WCWIDTH 3  2011-09-28 "GNU" "Linux Programmer's Manual"
+.TH WCWIDTH 3  2014-01-22 "GNU" "Linux Programmer's Manual"
 .SH NAME
 wcwidth \- determine columns needed for a wide character
 .SH SYNOPSIS
@@ -35,13 +35,21 @@ is at least 0.
 If
 .I c
 is null wide character (L\(aq\\0\(aq), the value is 0.
-Otherwise \-1 is returned.
+Otherwise, \-1 is returned.
 .SH RETURN VALUE
 The
 .BR wcwidth ()
 function returns the number of
 column positions for
 .IR c .
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.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.
 .SH CONFORMING TO
 POSIX.1-2001.
 
@@ -60,3 +68,12 @@ current locale.
 .SH SEE ALSO
 .BR iswprint (3),
 .BR wcswidth (3)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.