@node wcsnrtombs
@section @code{wcsnrtombs}
@findex wcsnrtombs

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

Gnulib module: wcsnrtombs

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
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.
@item
This function cannot consume valid sequences of wide characters
on some platforms:
Solaris 11.4.
@item
In C++ mode, the system's @code{<wchar.h>} defines @code{std::wcsnrtombs} but
not @code{::wcsnrtombs} on some platforms:
Solaris 11 OpenIndiana.
@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{c32snrtombs}, provided by Gnulib module
@code{c32snrtombs}, operates on 32-bit wide characters and therefore does not
have this limitation.
@end itemize
