avoid some overlong lines from posix urls, etc.
[gnulib.git] / doc / posix-functions / strstr.texi
1 @node strstr
2 @section @code{strstr}
3 @findex strstr
4
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/strstr.html}
6
7 Gnulib module: strstr or strstr-simple
8
9 Portability problems fixed by either Gnulib module @code{strstr-simple}
10 or @code{strstr}:
11 @itemize
12 @item
13 This function can trigger memchr bugs on some platforms:
14 glibc 2.10.
15 @end itemize
16
17 Portability problems fixed by Gnulib @code{strstr}:
18 @itemize
19 @item
20 This function has quadratic instead of linear worst-case complexity on some
21 platforms:
22 glibc 2.8, MacOS X 10.3, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0, AIX
23 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw.
24 @end itemize
25
26 Portability problems not fixed by Gnulib:
27 @itemize
28 @item
29 This function cannot work correctly on character strings in most multibyte
30 locales.  Gnulib provides an alternative function @code{mbsstr} that works
31 on character strings in all locales.
32 @end itemize