Hash :
adfbfffa
Author :
Date :
2024-07-20T20:02:14
doc: Sort the ISO C and POSIX Function Substitutes by header file. * doc/gnulib.texi (Function Substitutes): Add one section per header file. * doc/posix-functions/*.texi: Each of these files is now a subsection.
@node wctrans
@subsection @code{wctrans}
@findex wctrans
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/wctrans.html}
Gnulib module: wctrans
Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on some platforms:
Minix 3.1.8, HP-UX 11.00, mingw, MSVC 9, Android 7.1.
@item
This function does not support the @code{"tolower"} and @code{"toupper"}
mappings on some platforms:
NetBSD 10.0.
(It returns non-null values for the arguments @code{"towlower"} and
@code{"towupper"}, but with these values, the function @code{towctrans}
always crashes.)
@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{c32_get_mapping}, provided by Gnulib module
@code{c32_get_mapping}, operates on 32-bit wide characters and therefore does
not have this limitation.
@end itemize