1@node strcasestr
2@subsection @code{strcasestr}
3@findex strcasestr
4
5LSB specification:@* @url{https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-strcasestr.html}
6
7Documentation:
8@itemize
9@item
10@ifinfo
11@ref{Search Functions,,Search Functions,libc},
12@end ifinfo
13@ifnotinfo
14@url{https://www.gnu.org/software/libc/manual/html_node/Search-Functions.html},
15@end ifnotinfo
16@item
17@uref{https://www.kernel.org/doc/man-pages/online/pages/man3/strcasestr.3.html,,man strcasestr}.
18@end itemize
19
20Gnulib module: strcasestr or strcasestr-simple
21
22Portability problems fixed by either Gnulib module @code{strcasestr-simple}
23or @code{strcasestr}:
24@itemize
25@item
26This function is missing on some platforms:
27AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 10, Cygwin 1.5.x,
28mingw, MSVC 14.
29@item
30This function can trigger memchr bugs on some platforms:
31glibc 2.10.
32@item
33This function can trigger false positives for long periodic needles on
34some platforms:
35glibc 2.12, Cygwin 1.7.7.
36@item
37This function may fail to find matches on some platforms:
38glibc 2.28.
39@end itemize
40
41Portability problems fixed by Gnulib module @code{strcasestr}:
42@itemize
43@item
44This function has quadratic instead of linear worst-case complexity on some
45platforms:
46glibc 2.8, FreeBSD 6.2, NetBSD 9.0, OpenBSD 4.0, Solaris 11.4.
47@end itemize
48
49Portability problems not fixed by Gnulib:
50@itemize
51@end itemize
52