VMS Help
CRTL, wcwidth
*Conan The Librarian
|
Determines the number of printing positions on a display device
required for the specified wide character.
Format
#include <wchar.h>
int wcwidth (wchar_t wc);
wc
A wide character.
The wcwidth function determines the number of column positions
needed for the specified wide character wc. The value of wc must
be a valid wide character in the current locale.
x The number of printing positions required for
wc.
0 If wc is a null character.
-1 Indicates that wc does not represent a valid
printing wide character.