Your Browser is not longer supported
Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...
{{viewport.spaceProperty.prod}}
wcwidth - get number of column positions of wide character code
&pagelevel(4)&pagelevel
Syntax | #include <wchar.h> int wcwidth(wint_t wc); |
Description | wcwidth() determines the number of column positions required for the wide character wc. The value of wc must be a character representable as a wchar_t , and must be a wide character code corresponding to a valid character in the current locale.
|
Return val.
| -1 0 1 | if wc does not correspond to a representable wide character code. if wc is a null wide-character code. if wc corresponds to a representable wide character code. |
Notes | Restriction This version of the C runtime system only supports 1-byte characters as wide character codes. They are of type wchar_t (see stddef.h ). (End) |
See also | wchar.h .
|