Branch
Hash :
c36a0f21
Author :
Date :
2024-10-27T17:01:29
doc: Add a module index. * doc/Makefile (undocumented-modules.texi): New rule. (%.info, %.html, %.dvi, %.pdf): Depend on undocumented-modules.texi. (mostlyclean): Remove also *.m and *.tmp. (force): New rule. * doc/*.texi: Add module index entries. * doc/*/*.texi: Likewise.
@node wcsnrtombs
@subsection @code{wcsnrtombs}
@findex wcsnrtombs
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/wcsnrtombs.html}
Gnulib module: wcsnrtombs
@mindex 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, 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.
@mindex c32snrtombs
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