summaryrefslogtreecommitdiff
path: root/doc/posix-functions/wcswidth.texi
blob: 02049ffdd0b19ee54571589dc70791d939514274 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@node wcswidth
@section @code{wcswidth}
@findex wcswidth

POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/wcswidth.html}

Gnulib module: wcswidth

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
OpenBSD 3.8, Minix 3.1.8, mingw, MSVC 14.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@item
On Windows and 32-bit AIX platforms, @code{wchar_t} is a 16-bit type and therefore cannot
accommodate all Unicode characters.
However, the Gnulib function @code{c32swidth}, provided by Gnulib module
@code{c32swidth}, operates on 32-bit wide characters and therefore does not
have this limitation.
@end itemize