/sys$common/syshlp/HELPLIB.HLB  —  CRTL  wcwidth
    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);

1  –  Argument

 wc

    A wide character.

2  –  Description

    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.

3  –  Return Values

    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.
Close Help