New module 'login_tty'.
[gnulib.git] / doc / glibc-functions / memmem.texi
1 @node memmem
2 @subsection @code{memmem}
3 @findex memmem
4
5 Gnulib module: memmem or memmem-simple
6
7 Portability problems fixed by either Gnulib module @code{memmem-simple}
8 or @code{memmem}:
9 @itemize
10 @item
11 This function is missing on some platforms:
12 MacOS X 10.3, FreeBSD 5.2.1, OpenBSD 4.0, AIX 4.3.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, mingw, Interix 3.5, BeOS.
13 @item
14 This function has reversed arguments on some older platforms:
15 Linux libc 5.0.9
16 @end itemize
17
18 Portability problems fixed by Gnulib module @code{memmem}:
19 @itemize
20 @item
21 This function returns incorrect values in some cases, such as when
22 given an empty needle:
23 glibc <= 2.0, Cygwin 1.5.x.
24 @item
25 This function has quadratic instead of linear worst-case complexity on some
26 platforms:
27 glibc 2.8, FreeBSD 6.2, NetBSD 3.0, AIX 5.1, Cygwin 1.5.x.
28 @end itemize
29
30 Portability problems not fixed by Gnulib:
31 @itemize
32 @end itemize