wcswidth(3) Library Functions Manual wcswidth(3) wcswidth - (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() | | (locale) (MT-Safe) | +----------------------+------------------------------------+---------------------------------------------------------------------------------------------+ POSIX.1-2008. POSIX.1-2001. wcswidth() LC_CTYPE . iswprint(3), wcwidth(3) 3 . . : . 6.18 8 2026 wcswidth(3)