2 @subsection @code{memmem}
5 Gnulib module: memmem or memmem-simple
7 Portability problems fixed by either Gnulib module @code{memmem-simple}
11 This function is missing on some platforms:
12 MacOS X 10.5, 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.
14 This function has reversed arguments on some older platforms:
17 This function can trigger false positives for long periodic needles on
19 glibc 2.12, Cygwin 1.7.7.
22 Portability problems fixed by Gnulib module @code{memmem}:
25 This function returns incorrect values in some cases, such as when
26 given an empty needle:
27 glibc <= 2.0, Cygwin 1.5.x.
29 This function has quadratic instead of linear worst-case complexity on some
31 glibc 2.8, FreeBSD 6.2, NetBSD 5.0, AIX 5.1, Solaris 11 2010-11, Cygwin 1.5.x.
34 Portability problems not fixed by Gnulib: