function returns the number of columns
needed to represent the wide character
is a printable wide character, the value
is at least 0.
is null wide character (L'\0'), the value is 0.
Otherwise, -1 is returned.
function returns the number of
column positions for
For an explanation of the terms used in this section, see
Note that glibc before 2.2.5 used the prototype
int wcwidth(wint_t c);
The behavior of
depends on the
category of the
This page is part of release 4.04 of the Linux
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at