Computes the number of column positions required by a wide-character code.
#include <wchar.h> int wcwidth ( wchar_t wc);
(IN) Points to the wide character.
If successful, returns the number of column positions that the specified wide character requires. Otherwise, returns 0 if wc is a null-terminating wide-character code or -1 if wc does not correspond to a printable wide-character code.