Convert strcasestr module to use Two-Way algorithm.
[gnulib.git] / doc / functions / strcasestr.texi
1 @node strcasestr
2 @section @code{strcasestr}
3 @findex strcasestr
4
5 Unspecified by POSIX, but comparable to a mix of @code{strstr} and
6 @code{strcasecmp}.
7
8 Gnulib module: strcasestr or strcasestr-simple
9
10 Portability problems fixed by either Gnulib module @code{strcasestr-simple}
11 or @code{strcasestr}:
12 @itemize
13 @item
14 This function is missing on some platforms:
15 MacOS X 10.3, FreeBSD 5.2.1, OpenBSD 4.0, AIX 4.3.2, HP-UX 11, IRIX
16 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw, Interix 3.5, BeOS.
17 @end itemize
18
19 Portability problems fixed by Gnulib module @code{strcasestr}:
20 @itemize
21 @item
22 This function has quadratic instead of linear worst-case complexity on some
23 platforms:
24 glibc 2.6.1, FreeBSD 6.2, NetBSD 3.0, AIX 5.1.
25 @end itemize
26
27 Portability problems not fixed by Gnulib:
28 @itemize
29 @end itemize