Next: wmemchr
, Previous: wctype_l
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
wcwidth
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/wcwidth.html
Gnulib module: wcwidth
Portability problems fixed by Gnulib:
-D_GNU_SOURCE
) on some platforms:
glibc 2.8.
Portability problems not fixed by Gnulib:
wchar_t
is a 16-bit type and therefore cannot
accommodate all Unicode characters.
However, the Gnulib function c32width
, provided by Gnulib module
c32width
, operates on 32-bit wide characters and therefore does not
have this limitation.