wcswidth(3) Library Functions Manual wcswidth(3) wcswidth - , C (libc, -lc) #define _XOPEN_SOURCE /* . feature_test_macros(7) */ #include int wcswidth(const wchar_t *s, size_t n); wcswidth() , s, n . , -1. wcswidth() , s, n. attributes(7). +----------------------------+----------------------------------------------------------+--------------------------+ | | | | +----------------------------+----------------------------------------------------------+--------------------------+ |wcswidth() | | MT-Safe locale | +----------------------------+----------------------------------------------------------+--------------------------+ POSIX.1-2008. POSIX.1-2001. wcswidth() LC_CTYPE . iswprint(3), wcwidth(3) () Azamat Hackimov , Yuri Kozlov Kirill Rekhov ; GNU (GNU General Public License - GPL, 3 ) , - . - , , () () () <>. Linux 6.15 17 2025 . wcswidth(3)