Fix memmem to avoid O(n^2) worst-case complexity.
[gnulib.git] / modules / memmem
1 Description:
2 memmem() function: locate first substring in a buffer.
3
4 Files:
5 lib/memmem.c
6 m4/memmem.m4
7
8 Depends-on:
9 extensions
10 string
11 stdbool
12 malloca
13 memchr
14 memcmp
15
16 configure.ac:
17 gl_FUNC_MEMMEM
18 gl_STRING_MODULE_INDICATOR([memmem])
19
20 Makefile.am:
21
22 Include:
23 <string.h>
24
25 License:
26 LGPLv2+
27
28 Maintainer:
29 libc, Simon Josefsson