summaryrefslogtreecommitdiff
path: root/modules/strstr-simple
blob: bd52b17310c099b913deff27ef59949659e16b77 (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
Description:
strstr() function: locate first substring in a buffer.

Files:
lib/str-two-way.h
lib/strstr.c
m4/strstr.m4

Depends-on:
string
builtin-expect  [test $REPLACE_STRSTR = 1]
stdbool         [test $REPLACE_STRSTR = 1]
memchr          [test $REPLACE_STRSTR = 1]
memcmp          [test $REPLACE_STRSTR = 1]

configure.ac:
gl_FUNC_STRSTR_SIMPLE
if test $REPLACE_STRSTR = 1; then
  AC_LIBOBJ([strstr])
fi
gl_STRING_MODULE_INDICATOR([strstr])

Makefile.am:

Include:
<string.h>

License:
LGPLv2+

Maintainer:
all, Eric Blake