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 wcsstr
@subsection @code{wcsstr}
@findex wcsstr
POSIX specification:@* @url{https://pubs.opengroup.org/onlinepubs/9799919799/functions/wcsstr.html}
Gnulib module: wcsstr or wcsstr-simple
Portability problems fixed by either Gnulib module @code{wcsstr-simple} or @code{wcsstr}:
@itemize
@item
This function is missing on some platforms:
HP-UX 11.00.
@end itemize
Portability problems fixed by Gnulib module @code{wcsstr}:
@itemize
@item
This function has quadratic instead of linear worst-case complexity on some
platforms:
glibc 2.39, macOS 14, FreeBSD 13.1, NetBSD 10.0, OpenBSD 7.2, AIX 7.2, HP-UX 11, Solaris 11.4, Cygwin 2.9.0, mingw, MSVC 14.
@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.
@end itemize