summaryrefslogtreecommitdiff
path: root/gnulib/doc/glibc-functions/strcasestr.texi
blob: b13cd1bb38ccb0473cbd170d5b3ad01b5a4316fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@node strcasestr
@subsection @code{strcasestr}
@findex strcasestr

Gnulib module: strcasestr or strcasestr-simple

Portability problems fixed by either Gnulib module @code{strcasestr-simple}
or @code{strcasestr}:
@itemize
@item
This function is missing on some platforms:
AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x,
mingw, MSVC 9, BeOS.

@item
This function can trigger memchr bugs on some platforms:
glibc 2.10.

@item
This function can trigger false positives for long periodic needles on
some platforms:
glibc 2.12, Cygwin 1.7.7.
@end itemize

Portability problems fixed by Gnulib module @code{strcasestr}:
@itemize
@item
This function has quadratic instead of linear worst-case complexity on some
platforms:
glibc 2.8, FreeBSD 6.2, NetBSD 5.0, OpenBSD 4.0, Solaris 11 2010-11.
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize