poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / wcrtomb.texi
blob28b8dfe8511de8f1d4915880b5c86ee492e8ddd0
1 @node wcrtomb
2 @section @code{wcrtomb}
3 @findex wcrtomb
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/wcrtomb.html}
7 Gnulib module: wcrtomb
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 Minix 3.1.8, HP-UX 11.00, IRIX 6.5, mingw.
14 @item
15 This function produces wrong characters in the C locale on some platforms:
16 Android 4.3.
17 @item
18 This function returns 0 when the first argument is NULL in some locales on some platforms:
19 Solaris 11.3.
20 @item
21 This function does not ignore the second argument when the first argument is NULL on some platforms:
22 MSVC 14.
23 @end itemize
25 Portability problems not fixed by Gnulib:
26 @itemize
27 @item
28 On Windows and 32-bit AIX platforms, @code{wchar_t} is a 16-bit type and
29 therefore cannot accommodate all Unicode characters.
30 However, the ISO C11 function @code{c32rtomb}, provided by Gnulib module
31 @code{c32rtomb}, operates on 32-bit wide characters and therefore does not have
32 this limitation.
33 @end itemize