poll tests: Avoid test failure on BSD and Solaris systems.
[gnulib.git] / doc / posix-functions / wcsnrtombs.texi
blob1b5fc12f4ad8becadd63267493cb7bf74a38cdbe
1 @node wcsnrtombs
2 @section @code{wcsnrtombs}
3 @findex wcsnrtombs
5 POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9699919799/functions/wcsnrtombs.html}
7 Gnulib module: wcsnrtombs
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on some platforms:
13 FreeBSD 5.2.1, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, HP-UX 11, IRIX 6.5, Solaris 11.3, Cygwin 1.5.x, mingw, MSVC 14, Android 4.4.
14 @item
15 This function cannot consume valid sequences of wide characters
16 on some platforms:
17 Solaris 11.4.
18 @item
19 In C++ mode, the system's @code{<wchar.h>} defines @code{std::wcsnrtombs} but
20 not @code{::wcsnrtombs} on some platforms:
21 Solaris 11 OpenIndiana.
22 @end itemize
24 Portability problems not fixed by Gnulib:
25 @itemize
26 @item
27 On Windows and 32-bit AIX platforms, @code{wchar_t} is a 16-bit type and
28 therefore cannot accommodate all Unicode characters.
29 However, the Gnulib function @code{c32snrtombs}, provided by Gnulib module
30 @code{c32snrtombs}, operates on 32-bit wide characters and therefore does not
31 have this limitation.
32 @end itemize