aboutsummaryrefslogtreecommitdiffstats
path: root/man3/wcwidth.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/wcwidth.3')
-rw-r--r--man3/wcwidth.312
1 files changed, 9 insertions, 3 deletions
diff --git a/man3/wcwidth.3 b/man3/wcwidth.3
index 08ebbca830..7437647154 100644
--- a/man3/wcwidth.3
+++ b/man3/wcwidth.3
@@ -21,13 +21,17 @@ wcwidth \- determine columns needed for a wide character
.BI "int wcwidth(wchar_t " c );
.fi
.SH DESCRIPTION
-The \fBwcwidth\fP() function returns the number of columns
+The
+.BR wcwidth ()
+function returns the number of columns
needed to represent the wide character \fIc\fP.
If \fIc\fP is a printable wide character, the value
is at least 0.
If \fIc\fP is L'\\0', the value is 0. Otherwise \-1 is returned.
.SH "RETURN VALUE"
-The \fBwcwidth\fP() function returns the number of
+The
+.BR wcwidth ()
+function returns the number of
column positions for \fIc\fP.
.SH "CONFORMING TO"
POSIX.1-2001.
@@ -38,7 +42,9 @@ Note that glibc before 2.2.5 used the prototype
.BI "int wcwidth(wint_t " c );
.fi
.SH NOTES
-The behaviour of \fBwcwidth\fP() depends on the LC_CTYPE category of the
+The behaviour of
+.BR wcwidth ()
+depends on the LC_CTYPE category of the
current locale.
.SH "SEE ALSO"
.BR iswprint (3),