WCWIDTH(3) BSD Library Functions Manual WCWIDTH(3) NAME wcwidth -- number of column positions of a wide-character code LIBRARY Standard C Library (libc, -lc) SYNOPSIS #include <wchar.h> int wcwidth(wchar_t wc); DESCRIPTION The wcwidth() function determines the number of column positions required to display the wide character wc. RETURN VALUES The wcwidth() function returns 0 if the wc argument is a nul wide character (L'