Determines the number of printing positions on a display device required for the specified wide character.
#include <wchar.h> int wcwidth (wchar_t wc);
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. |