summaryrefslogtreecommitdiff
path: root/doc/posix-functions/wmemcmp.texi
blob: cebacfb6641713c2f46e4876ae8265fdc2f80eeb (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
25
@node wmemcmp
@section @code{wmemcmp}
@findex wmemcmp

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

Gnulib module: wmemcmp

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
HP-UX 11.00, IRIX 6.5, MSVC 14.
@item
This function compares the wide characters as if they were unsigned, although
@code{wchar_t} is signed, on some platforms:
glibc 2.14.1 on x86 or x86_64, musl libc 1.2.3, NetBSD 9.0, OpenBSD 7.2, Solaris 11.4.
@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.
@end itemize